PowerTip: Add CAB Package to Windows Image with PowerShell

The Scripting Guys

Dr Scripto

Summary: Use Windows PowerShell to update a Windows image with a CAB package.

Hey, Scripting Guy! Question How can I use Windows PowerShell to update a Windows image with a new CAB package?

Hey, Scripting Guy! AnswerSupply the path to the package and use the Add-WindowsPackage cmdlet. For example, to add a
           package to a previously mounted offline installation in the C:\Media\Mount folder, use:

Add-WindowsPackage –PackagePath C:\Foo\Somepackage.CAB –Path C:\Media\Mount

The Scripting Guys
Dr Scripto

Follow Dr Scripto   

No Comments.