When "RunAsynchronously" is specified, this identifier is returned to provide the task identifier.
This object provides details of the task 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 the task. For new provisioning scheme tasks this is always "NewProvisioningScheme".
The list of metadata stored against the task. For new tasks this will be empty until metadata is added.
Indicates the status of the workflow that is being 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 will use.
The unique identifier name of the identity pool (from the ADIdentity PowerShell snap-in) that the new provisioning scheme will use.
The name of the hosting unit (from the Hosting Unit PowerShell snap-in) that the new provisioning scheme will use.
The unique identifier of the hosting unit (from the Hosting Unit PowerShell snap-in) that the new provisioning scheme will use.
The state of the task. This can be any of the following:
Indicates that the task has just begun and has not done anything yet.
Indicates that the workflow is locating resources from other services.
Indicates that the task failed because the required hosting unit could not be located.
Indicates that the task failed because the required snapshot could not be located.
Indicates that the task is consolidating the master image.
Indicates that the task is replicating the consolidated master image.
Indicates that the task is storing the provisioning scheme data to the database.
Indicates that the task has completed with no errors.
Indicates that the task failed because a provisioning scheme with the same name already exists.
Indicates that the task failed because the identity pool specified could not be found.
Indicates that the hosting unit that the master image originated from is not the same hosting unit that the provisioning scheme is defined to use.
Indicates that the task failed because the master VM Image path does not refer to a Snapshot item.
Could not find a provisioning scheme with the specified name.
A task for a provisioning scheme with the same name is already running.
The VM snapshot specified as the master had an invalid configuration.
The VM snapshot specified as the master is currently in an invalid state.
Indicates that the task failed because the hypervisor did not have enough resources to complete the task.
Indicates that no associated storage was found in the hosting unit.
Indicates that the task was stopped by user intervention (using Stop-ProvTask)
Holds string data providing more details about the current task state.
The progress of the task 0-100%.