Nice To Know–New PowerShell 4.0 CMDLets for DISM functions in Windows 8.1 and Windows Server 2012 R2

Mikael “Deployment Bunny” Nystrom once again providing us with some very useful information. Since DISM has taken over for ImageX since Win8.0, its good to know powershell 4.0 can do some of these things in Win8.1 and 2012 R2.

The Deployment Bunny

In Windows 8.1 and Windows Server 2012 R2 there are new CMDlets that expands the capability’s of the DISM module.

To Apply:

Expand-WindowsImage -ImagePath C:\MDTBuildLab\Captures\REFWS2012R2-001.wim -Index 1 -ApplyPath d:\

To Capture:

New-WindowsImage -ImagePath C:\test.wim -CapturePath d:\ -Name "test"

So far we have found no docs that describes this at all, so this just trial and error

/mike

View original post

Advertisements