The following example gets information about the objects such as report execution scheduled tasks and report binder execution scheduled tasks that reference a task output target.



Code Sample

# Gets information about the objects that reference the specified task output target.

$references = $administration.GET_TaskOutputTargetReferences("26b9ad46-e799-4f22-a1fc-e49083c522ec");

foreach ($reference in $references)

{

    Write-Host $reference.DisplayName;

    Write-Host $reference.Identifier;

    Write-Host $reference.ReferenceType;

    Write-Host

}