The following example creates a new report.
- Connect to the reporting web service.
- Specify the unique identifier of the report folder where the report is to be created in GUID format. To create the report in the root report folder use the well known identifier of the root report folder "3f836181-2109-4f5b-a1cf-b7aa8d14c212".
- The user must be a system administrator to execute this command.
# 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");