The following example creates a new report.



Code Sample

# Creates a new report in the report folder with the specified identifier and displays the identifier of the newly created report.

$newIdentifier = $reporting.DO_CreateReport("e5cf10bc-a9e0-446e-b049-e06937213615");

Write-Host $newIdentifier;