The Deployment Bunny

OS Deployment, Virtualization, Microsoft based Infrastructure…

  • Archives

  • Meta

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

Posted by Mikael Nystrom on July 17, 2013

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

About these ads

2 Responses to “Nice To Know–New PowerShell 4.0 CMDLets for DISM functions in Windows 8.1 and Windows Server 2012 R2”

  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.

  2. […] Nice To Know–New PowerShell 4.0 CMDLets for DISM functions in Windows 8.1 and Windows Server 2… […]

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.

Join 2,339 other followers

%d bloggers like this: