When the RunAsynchronously identifier is specified, this GUID is returned and provides the task identifier.
This object provides details of the task that was run and contains the following information:
The identifier for the task that was performed.
Indicates whether the task is still processing or is complete.
The name of the host on which the task is running or was run.
The date and time that the task was initiated.
The type of task. For newly provisioned VM tasks, this is always "NewVirtualMachine".
The list of metadata stored against the task. For new tasks this is empty until metadata is added.
Indicates the status of the workflow that is used to process the task.
The name of the provisioning scheme that the task was for.
The unique identifier of the provisioning scheme that the task was for.
The path (in the hosting unit provider) of the virtual machine snapshot that was used as the master image for the task.
The name of the identity pool (from the ADIdentity PowerShell snap-in) that the new provisioning scheme uses.
The unique identifier name of the identity pool (from the ADIdentity PowerShell snap-in) that the new provisioning scheme uses.
The name of the hosting unit (from the Hosting Unit PowerShell snap-in) that the new provisioning scheme uses.
The unique identifier of the hosting unit (from the Hosting Unit PowerShell snap-in) that the new provisioning scheme uses.
The state of the task. This can be any of the following:
Indicates that the task is in its initial state.
Indicates that the task is locating information from other services.
Indicates that the required hosting unit could not be located.
Indicates that the required provisioning scheme could not be located.
Indicates that the task is at the provisioning stage.
Indicates that the required identity pool could not be located.
Indicates that the provisioning scheme already has another task running.
Indicates that the hypervisor is not available for normal use.
Indicates that no storage is available for the hypervisor.
Indicates that no network is available for the hypervisor.
Indicates that the task is finalizing.
Indicates that the task is complete.
Indicates that the task is complete but there were errors. Specific details of errors are included with each failed virtual machine.
Indicates that the task is removing virtual machines from the hypervisor.
The job failed for reasons specified in TaskStateInformation.
Indicates that the task was stopped by user intervention (using Stop-ProvTask).
Provides more detailed information about the current task state.
The total number of virtual machines that the task is trying to create.
The number of virtual machines that the task has created so far. Details of the machines that were created are in the CreatedVirtualMachines parameter.
The number of virtual machines that the task has failed to create. Details of the machines that were not created are in the FailedVirtualMachines parameter.
The domain qualified AD Account name of the machine.
The AD account SID of the machine account.
A collection of handled error states which caused the provisioning to fail.
The type of exception this object represents
The exception message
The full exception content including stack trace
Information relating to any contributing error state
The virtual machine identifier within the hypervisor in which the VM resides.
The display name of the virtual machine within the hypervisor in which the VM resides.
See FailedVirtualMachines for details of the object parameters.