The Deployment Bunny

OS Deployment, Virtualization, Microsoft based Infrastructure…

  • Archives

  • Meta

OS Deployment – What’s inside my WIM?

Posted by Mikael Nystrom on November 15, 2015

I was working for a customer in the US last week (You know how you are) and they had a problem with OSD that is solved by the updated Kernel Driver Framework. So, I told them to create a new ref image that has all patches included, still did not work. So, let us open the WIM and see if the hotfix is included, it was not, since there was an issue with WSUS, fixed and cased closed. but…

I have tested the script against all kinds of WIM files and so far it works, the script it self has been tested on Windows 10 and Windows Server 2016 TP3

Creating a WIM Content Report

I did create a script that extracts the information from the WIM file at the customer site, but this version has been somewhat “polished”.

Download: http://1drv.ms/1bwlwXm

image
The Script.

What do I get?

image
Generic Info.

image
Drivers (Yes, even if you don’t add drivers, Microsoft Office will).

image
Enabled Features.

image
All the Packages.

image
All Appx Packages.

Usage

Import the Get-WimInfo.ps1 powershell script as a module:

Import-Module Get-WimInfo.ps1 -Force –Verbose

Use the Command like this:

New-WimReport -MountFolder C:\mount\ -WIMFile E:\WIMs\RW10X64-002.wim -Index 1

/mike

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

 
%d bloggers like this: