Utility - simpleExportPatchAnalysisRunLatest

Utility - simpleExportPatchAnalysisRunLatest

Description :

This command exports the latest Patch Analysis Job run result to a file and gives you more control over the resulting output than other similar commands. The result is saved in a CSV format that contains the following columns:

  • Status - Status of the Patch Analysis Job
  • Server - The name of the server on which the job ran
  • Name - Name of the patch
  • QNumber
  • Severity
  • Bulletin ID
  • CVE Id
  • IAVA ID
  • Product
  • Status - Status of the patch, with one of the following values: Missing, Installed, or EffectivelyInstalled
  • Instance
  • Description
  • Reason - A reason for detecting the patch as missing

Return type : java.lang.Void

Command Input :

Variable Name

Variable Type

Description

serverName

String

Name of the server in the Patch Analysis Job results to be exported.

For data from all servers, use a null value (that is, "").

jobGroupName

String

Fully qualified job group where the Patch Analysis Job is stored.

jobName

String

Name of the Patch Analysis Job to export.

exportFileName

String

Name of the file that holds the export.

Example

The following example shows how to export the lastest job run result of a Patch Analysis job.

Script

Utility simpleExportPatchAnalysisRunLatest "win2kServ1" "/sampleJobGroup"  "samplePatchJob" "C:/temp/samplePatchJobResult.csv"
Was this page helpful? Yes No Submitting... Thank you

Comments