Retrieving more details on a failed job (ID: 23755)

May 25, 2012 at 6:16 pm in Uncategorized by Kurt Roggen

During VM creation, you might get into a situation where your deployment is blocked due to incorrect or invalid settings in the VM template, VM Host or cloud.
VMM might refer to the cause by using a reference Task ID GUID.

image

But how do you retrieve more information using the GUID?
Obviously, PowerShell…

$JobInfo = get-SCjob –ID <GUID>

image

That actually brings back an VirtualMachineManager.Task object with a property AdditionalMessages.

Looking at the AdditionalMessages will reveal all problems that cause the deployment to be blocked.

$JobInfo.AdditionalMessages

image