Deployment

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

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

Categories: Deployment, PowerShell

Tagged as:

2 replies »

  1. Reblogged this on MDTGuy.WordPress.com and commented:
    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.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.