CmdID / PowerShell / Cmdlets / Dismount
Dismount-WindowsImage
Dismounts a Windows image from the directory it is mapped to. Windows Server PowerShell reference
From the Windows Server PowerShell reference 8 parameters Its page in the reference
Parameters
-AppendSpecifies the location of an existing .wim file to add the Windows image to when you dismount it instead of overwriting the existing image.-CheckIntegrityDetects and tracks .wim file corruption.-DiscardDiscards the changes to a Windows image.-LogLevel, -LLSpecifies the maximum output level shown in the logs.-LogPath, -LPSpecifies the full path and file name to log to.-PathSpecifies the full path to the root directory of the offline Windows image that you will service.-SaveSaves the changes to a Windows image.-ScratchDirectorySpecifies a temporary directory that will be used when extracting files for use during servicing.