Previous Topic: dpmvc-vmtotemplate Command--Convert VM to Template (Funclet)Next Topic: CA Microsoft Hyper-V AutoShell Commands


dpmvc-wait Command--Time to Wait for a Job (Funclet)

The dpmvc-wait command specifies the time to wait until a job is performed. This command does not return the status until the job is complete or timeout occurs.

This command has the following format:

dpmvc-wait 
-job <jobid>
[-timeout timeout]
-job jobid

Specifies the Job Id.

-timeout timeout

Specifies the timeout value to specify the job status.

Example: Status of Job

This example specifies that job 125635 waits 20 seconds until it is performed.

dpmvc-wait -job 125635 -timeout 20