Get Task Output Targets
The following example gets information about the configured task output targets.
- Connect to the administration web service.
- The unique identifiers specified are in GUID format.
Code Sample
# Lists basic information about each task output target.
$targets = $administration.GET_TaskOutputTargets();
foreach ($target in $targets)
{
Write-Host $target.DisplayName;
Write-Host $target.Identifier;
Write-Host $target.TargetType;
Write-Host
}
# Gets the full details of the task output target with the specified identifier.
$target = $administration.GET_TaskOutputTarget("3f718566-19e9-45a9-8a0a-0f1a9f9c2c58");