sagcc get license-tools reports aggregated reportid
Generates a file for an existing aggregated report in PDF, XML, or JSON format.
Syntax
Command Central syntax:
sagcc get license-tools reports aggregated reportid
--output-format.{pdf|xml|json} --output filename.{pdf|xml|js}
Not supported on
Platform Manager.
Arguments and Options
Argument or Option | Description |
reportid | Required. The ID of the aggregated report for which to generate a PDF, XML, or JSON file. The report ID is case-sensitive. |
--output-format. {pdf|xml|json} | Required. Specifies the format of the generated output. For more information, see output-format. |
--output filename. {pdf|xml|js} | Required. Specifies a name for the output file. For more information, see output. |
Usage Notes
You can archive an aggregated report by downloading it in XML format. You can later add the report back to Command Central, using the following command:
sagcc add license-tools reports aggregated {--input|-i}filename.xml
Examples When Executing on Command Central
To archive an aggregated report with ID
Jun2015 in the current directory:
sagcc get license-tools reports aggregated Jun2015
--output-format xml --output Jun2015.xml
To then add the archived aggregated report in Command Central:
sagcc add license-tools reports aggregated -i Jun2015.xml
To generate a PDF file for an aggregated report with ID
Jun2015 and save the generated report file in the current directory:
sagcc get license-tools reports aggregated Jun2015
--output-format pdf --output Jun2015.pdf
To generate a JSON file for an aggregated report with ID
Jun2015 and save the generated report file in the current directory:
sagcc get license-tools reports aggregated Jun2015
--output-format json --output Jun2015.js