You can view the MDT deployment process using the Get-MDTMonitorData cmdlet. This cmdlet is included in the MDT PowerShell microsoft.bdd.pssnapin snap-in, which is included with MDT. To use this cmdlet, monitoring must be enabled as described in Enable MDT Deployment Monitoring.

To view MDT deployment progress using the Get-MDTMonitorData cmdlet

1.   Open a Windows PowerShell console.

2.   Add the MDT PowerShell snap-in by running the Add-PSSnapIn cmdlet as shown in the following example:

Add-PSSnapIn Microsoft.BDD.PSSnapIn

3.   Create a PowerShell drive that uses the MDT PowerShell provider by running the New-PSDrive cmdlet as shown in the following example:

New-PSDrive -Name DS001 -PSProvider mdtprovider -Root d:\DeploymentShare$

4.   View the MDT monitoring process by running the following command:

Get-MDTMonitorData -Path DS001:

This command returns the monitoring data collected by the MDT monitoring service running on the same computer that hosts the deployment share, as shown in the following example output:

Name               : WDG-REF-01

PercentComplete    : 100

Settings           :

Warnings           : 0

Errors             : 0

DeploymentStatus   : 3

StartTime          : 5/23/2012 6:45:39 PM

EndTime            : 5/23/2012 8:46:32 PM

ID                 : 1

UniqueID           : 94a0830e-f2bb-421c-b1e0-6f86f9eb9fa1

CurrentStep        : 88

TotalSteps         : 88

StepName           :

LastTime           : 5/23/2012 8:46:32 PM

DartIP             :

DartPort           :

DartTicket         :

VMHost             : XYL-DC-02

VMName             : WDG-REF-01

ComputerIdentities : {}

For more information about the monitoring data that the cmdlet returns, see Table 197 in Viewing the MDT Deployment Progress in the Deployment Workbench.

5.   Close the Windows PowerShell console.


Related Topics

View MDT Deployment Progress