/Unmount-Wim /MountDir: {/Commit | /Discard} Unmounts the WIM file. Specify /Commit to save the changes or /Discard to discard ...