In addition to the Deployment Workbench, MDT deployment shares can be managed using Windows PowerShell cmdlets. The MDT Windows PowerShell cmdlets are included in a Windows PowerShell snap-in—Microsoft.BDD.PSSnapIn—which is included with the installation of MDT.
The MDT cmdlets must be run from a Windows PowerShell console that has the MDT Windows PowerShell snap-in loaded. For more information on how to start a Windows PowerShell console that has the MDT Windows PowerShell snap-in loaded, see Loading the MDT Windows PowerShell Snap-In.
Table 7 lists the MDT Windows PowerShell cmdlets and provides a brief description of each cmdlet. Each cmdlet is discussed in further detail in a subsequent section.
Table 7. MDT Windows PowerShell Cmdlets
Cmdlet |
Description |
Adds a deployment share to the list of MDT persisted drives that can be restored using the Restore-MDTPersistentDrive cmdlet. |
|
Disables the MDT monitoring services. |
|
Enables the MDT monitoring services. |
|
Displays the statistics of a deployment share, including the number of entities per major folder in the deployment share. |
|
Displays the MDT monitoring information collected for one or more monitored MTD deployments. |
|
Returns the operating system catalog for a specific operating system. If the operating system catalog does not exist or is out of date, then the operating system catalog is regenerated. |
|
Displays the list of deployment shares that can be restored using the Restore-MDTPersistentDrive cmdlet. |
|
Imports an application into a deployment share. |
|
Imports one or more device drivers into a deployment share. |
|
Imports one or more operating systems into a deployment share. |
|
Imports one or more operating system packages into a deployment share. |
|
Imports a task sequence into a deployment share. |
|
Creates or upgrades an MDT DB database that is associated with a deployment share. |
|
Removes one or more MDT monitoring data items from the collected MDT monitoring data in a deployment share. |
|
Removes a deployment share from the list of MDT persisted Windows PowerShell drives that can be restored using the Restore-MDTPersistentDrive cmdlet. |
|
Creates a Windows PowerShell drive for each deployment share in the list of MDT persisted Windows PowerShell drives. |
|
Creates a new or updates an existing MDT monitoring data item in the collected MDT monitoring data in a deployment share. |
|
Verifies the integrity of a deployment share. |
|
Verifies that the MDT monitoring services is configured correctly and running. |
|
Updates the MDT DB database schema. |
|
Updates a deployment share. |
|
Replicates content from a deployment share to a linked deployment share. |
|
Replicates content from a deployment share to a deployment media folder. |
Related Topics
Toolkit Reference
Add-MDTPersistentDrive
Disable-MDTMonitorService
Enable-MDTMonitorService
Get-MDTDeploymentShareStatistics
Get-MDTMonitorData
Get-MDTOperatingSystemCatalog
Get-MDTPersistentDrive
Import-MDTApplication
Import-MDTDriver
Import-MDTOperatingSystem
Import-MDTPackage
Import-MDTTaskSequence
New-MDTDatabase
Remove-MDTMonitorData
Remove-MDTPersistentDrive
Restore-MDTPersistentDrive
Set-MDTMonitorData
Test-MDTDeploymentShare
Test-MDTMonitorData
Update-MDTDatabaseSchema
Update-MDTDeploymentShare
Update-MDTLinkedDS
Update-MDTMedia