PowerShell Logo Small

Save-WindowsImage



This is the built-in help made by Microsoft for the command 'Save-WindowsImage', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Applies changes made to a mounted image to its WIM or VHD file.

SYNTAX


Save-WindowsImage [-Append] [-CheckIntegrity] [-LogLevel <LogLevel>] [-LogPath <String>] [-ScratchDirectory <String>] -Path <String> [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Save-WindowsImage cmdlet applies the servicing changes made to a mounted image to its WIM or VHD file without unmounting it.


The Path parameter specifies the location of the mounted Windows image.


The Append parameter specifies the location of an existing .wim file to add the Windows image to when you save it.


The CheckIntegrity parameter detects and tracks .wim file corruption. CheckIntegrity stops the operation if DISM detects that the .wim file is corrupted when used with the
Mount-WindowsImage cmdlet. The CheckIntegrity parameter does not apply to virtual hard disk (VHD) files.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/p/?linkid=289365
Mount-WindowsImage
Dismount-WindowsImage
Get-WindowsImage
Repair-WindowsImage

REMARKS

<

Examples


Example 1

PS C:\>Save-WindowsImage –Path c:\offline



This command saves the servicing changes made to the Windows image mounted to c:\offline. It does not unmounts the image.