The dpmhv-getJobStatus command retrieves the status of an asynchronous job.
This command has the following format:
dpmhv-getJobStatus -jobref job
Specifies the job ID of an asynchronous job.
Note: Upon the complete execution of asynchronous job, Hyper-V holds the job information for few minutes (five) only, beyond which it becomes invalid.
The dpmhv-getJobStatus command returns the following status information of the specified job:
Example: Show Job Status
This example displays the status of an export job.
jref = dpmhv-exportVMEx -host hvserver -vm TestVM -dest c:\Ex -async dpmhv-getJobState -jobref (jref)
Copyright © 2013 CA. All rights reserved. |
|