The following Windows PowerShell commands import all operating system packages located under D:\Updates\Microsoft\Vista. These operating system packages will be stored in the Production deployment share, which is in D:\Production Deployment Share.

·      Add-PSSnapIn Microsoft.BDD.PSSnapIn

·      New-PSDrive -Name "DS002" -PSProvider MDTProvider -Root "D:\Production Deployment Share"

·      Import-mdtpackage -path "DS002:\Packages" -SourcePath "D:\Updates\Microsoft\Vista" -Verbose

Related Topics

Using Windows PowerShell to Perform Common Tasks