PowerTip: Add CAB Package to Windows Image with PowerShell


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

Comments (0)

Skip to main content