The dpmhyperv GetJobState command returns the state of an asynchronous job running on a Hyper-V host.
This command has the following format:
dpmhyperv GetJobState [-ws_user username] [-ws_password password] [-ws_encrypted_password] -hypervHost hostname -jobRef job_ref-identifier [-pre] [-post] [-locale iso639value]
(Optional) Specifies the CA Server Automation user name.
(Optional) Specifies the CA Server Automation user password.
(Optional) Indicates whether the CA Server Automation password is encrypted.
Specifies the host name of the Hyper-V server.
Specifies the reference identifier of the asynchronous job.
(Optional) Generates an event before the operation is complete.
(Optional) Generates an event after the operation is complete.
(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 State of a Job
This example returns the state of the job, "\\hvserver\root\virtualization:Msvm_ConcreteJob.InstanceID="86CD04TEST82795D6F036"."
dpmhyperv GetJobState -ws_user admin -ws_password #test# -hypervHost hserver -jobRef \\hserver\root\virtualization:Msvm_ConcreteJob.InstanceID="86CD04TEST82795D6F036"
Copyright © 2013 CA. All rights reserved. |
|