Offline servicing of a VHD or WIM file

I came across a nifty PowerShell module today. The Module can be found here: http://windowsitpro.com/windows/add-updates-offline-vhd-or-wim-file It's an automation of the offline servicing of a VHD(X) or WIM file. If (-NOT ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) { $Arguments = "& '" + $myinvocation.mycommand.definition + "'" Start-Process powershell -Verb runAs -ArgumentList $Arguments Break } Import-Module C:\Install-Patch.psm1 Install-Patch <Path/share to vhdx … Continue reading Offline servicing of a VHD or WIM file