Unsupported content

 

This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Utility - simpleExportSnapshot

Utility - simpleExportSnapshot

Description :

This command exports a Snapshot Job, and this command gives you more control over the resulting output than other similar commands. The exported file is saved in CSV format.

This command reports on each asset (that is, server object) included the Snapshot Job. For each asset, a row is added to the file with some default columns of information. You can also include additional information for each asset using the additionalColumns argument. For this argument you provide column names in the form of a string list (for example, Size:Checksum or Size,Checksum). If a column does not apply to an asset type, an empty value appears in that row for that type of asset.

Return type : java.lang.Void

Command Input :

Variable Name

Variable Type

Description

jobGroupName

String

Fully qualified job group where the Snapshot Job is stored.

jobName

String

Name of the Snapshot Job to export.

exportFileName

String

Name of the file that holds the export.

additionalColumns

com.bladelogic.om.infra.cli.helper.StringList

String list of additional columns of information to include in report.

Example

The following example shows how to export the latest job run result of a Snapshot Job.

Script





Utility simpleExportSnapshot "/sampleJobGroup"  "sampleJob" "C:/temp/sampleJobResult.csv" "Size,Checksum" 



Was this page helpful? Yes No Submitting... Thank you

Comments