Previous Topic: dpmhyperv GetHostSwitches Command--Get Switches of a HostNext Topic: dpmhyperv GetJobInfo Command--Get Information of a Job


dpmhyperv GetJobErrorInfo Command--Get the Error Information of a Job

The dpmhyperv GetJobErrorInfo command returns the error details of an asynchronous job running on a Hyper-V host.

This command has the following format:

dpmhyperv GetJobErrorInfo 
[-ws_user username] 
[-ws_password password] 
[-ws_encrypted_password] 
-hypervHost hostname 
-jobRef job_ref_identifier 
[-pre] 
[-post]
[-locale iso639value]
-ws_user username

(Optional) Specifies the CA Virtual Assurance user name.

-ws_password password

(Optional) Specifies the CA Virtual Assurance user password.

-ws_encrypted_password

(Optional) Indicates whether the CA Virtual Assurance password is encrypted.

-host hostname

Specifies the host name of the Hyper-V server.

-jobRef job_ref_identifier

Specifies the reference identifier of the asynchronous job.

-pre

(Optional) Generates an event before the operation is complete.

-post

(Optional) Generates an event after the operation is complete.

-locale iso639value

(Optional) Specifies an IS0 639_3166 combination to override the default English output, for example, fr_FR for French. To use the locale of the command prompt, specify "native".

Example: Get the Error Information of a Job

This example returns the error information of the job, "\\hserver\root\virtualization:Msvm_ConcreteJob.InstanceID="86C9700348-4117-ABA8-445456"."

dpmhyperv GetJobErrorInfo -ws_user admin -ws_password admin -hypervHost hvserver -jobRef \\hserver\root\virtualization:Msvm_ConcreteJob.InstanceID="86C9700348-4117-ABA8-445456"