I exported from adTempus to a text file and did some parsing on it. Not pretty, but it did generate a list.
C:>type dw_prod_scan.shsed 's/</\'$'\n/g' dw_prod_export.adtexport4 | \
grep -i "dw_prod" | \
grep -v phs_dmx_config | \
grep -v ^-- | \
sed -f dw_prod_scan.sed >dw_prod_scan.txt
C:>type dw_prod_scan.sed
s/</\'$'\n/gs/.*D:/D:/
s/^ExecutionTarget>//
s/^Value>//
s/^NotificationMessage>//
s/^CommandLineParameters>//
s/^Description>//s/^--//
I guess I should have asked more about your goals and level of need. The search can be done programmatically through the adTempus API, so it would be possible to build, say, a PowerShell script to do this.
Like this one:
param (
[
string
]$server =
"."
,
[
string
]$find = $(
throw
"-find is required."
)
)
add-type -path
"c:\program files\arcana development\adtempus\4.0\ArcanaDevelopment.adTempus.Client.dll"
$adtempusapp=
new
-
object
ArcanaDevelopment.adTempus.Client.Application
$adtempus=$adtempusapp.Connect($server,[ArcanaDevelopment.adTempus.Shared.LoginAuthenticationType]::Windows,
""
,
""
)
#write-host "Connected to adTempus as " $adtempus.ClientName
$context=$adtempus.NewDataContext()
$options=
new
-
object
ArcanaDevelopment.adTempus.Shared.ObjectSearchOptions
$options.Action=[ArcanaDevelopment.adTempus.Shared.SearchReplaceType]::SearchOnly
$options.ReturnObjects=$
true
$options.IncludeObjects.Add([ArcanaDevelopment.adTempus.Shared.WellKnownOIDs]::RootGroup)
$options.SearchSubGroups=$
true
$options.TextToFind=$find
$results=$
null
$messages=$
null
$context.SearchAndReplace($options,[
ref
] $results,[
ref
] $messages)
foreach
($result
in
$results)
{
write-output $result
}
Save that as "adt-search.ps1" and you can then run it from PowerShell:
If you're on the adTempus server:
.\adt-search -find
"dw_prod"
If you need to connect to a different server:
.\adt-search -find
"dw_prod"
-server
"servername"
You can modify the write-output line to include only the pieces you want and format them however you want. $result is a SearchReplaceResult.
Replies are disabled for this topic.