Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 4.0 » Add-WindowsImage

Add-WindowsImage - Powershell 4.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

Add-WindowsImage

Short description
Adds an additional image to an existing image (.wim) file.

Syntax


Description
The Add-WindowsImage cmdlet adds an additional image to an existing image (.wim) file. Add-WindowsImage compares new 
files to the resources in the existing .wim file, specified by the Name parameter and the ImagePath parameter, and 
stores only a single copy of each unique file so that each file is only captured once. The .wim file can have only one 
assigned compression type. Therefore, you can only append files with the same compression type. 

The Add-WindowsImage cmdlet does not apply to virtual hard disk (VHD) files. 

It’s important to note that you’ll need to ensure you have enough disk space before you run Add-WindowsImage. If you 
run out of disk space while the image is being appended, you might corrupt the .wim file.