The following example gets the configuration of a report.



Code Sample

# Gets the report with the specified unique identifier and displays the report's display name and description.

$report = $reporting.GET_Report("5d1ae1a7-6625-4c2c-baf9-b08f6b6f87f1");

Write-Host $report.DisplayName;

Write-Host $report.SqlStatement;