Duplicate Report
The following example duplicates an existing report.
- Connect to the reporting web service.
- Specify the unique identifier of the report to duplicate in GUID format.
- The user must be a system administrator to execute this command.
Code Sample
# Duplicates the report with the specified identifier and displays the identifier of the newly created report.
$newIdentifier = $reporting.DO_DuplicateReport("5d1ae1a7-6625-4c2c-baf9-b08f6b6f87f1");
Write-Host $newIdentifier;