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 - simpleExportAuditRun

Utility - simpleExportAuditRun

Description :

This command exports a particular Audit Job run and 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) in the Audit Job that differs from the corresponding asset in the master. 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 Audit Job is stored.

jobName

String

Name of the Audit Job to export.

runId

Integer

Job Run Id of Audit Job run 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 the report.

Example

The following example shows how to export the job run result of an Audit Job.

Script





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



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

Comments