December 8th, 2015

PowerTip: Add CAB Package to Windows Image with PowerShell

Doctor Scripto
Scripter

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

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.