The following example duplicates an existing report.



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