Last active
May 4, 2023 08:53
-
-
Save JunielKatarn/4b000d8ed86f4cff856118671b20f230 to your computer and use it in GitHub Desktop.
Correct way to merge SWM files into a WIM file. TechNet documentation is wrong for this command.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Taken from https://technet.microsoft.com/en-us/library/hh825258.aspx | |
Param | |
( | |
$ImageName | |
) | |
dism /Export-Image ` | |
/SourceImageFile:${ImageName}.swm ` | |
/SWMFile:${ImageName}*.swm ` | |
/SourceIndex:1 ` | |
/DestinationImageFile:${ImageName}.wim ` | |
/CheckIntegrity |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This PowerShell-script does not work with swm-fileS
only with one swm-file, but this is a lil bit pointless cause there are always MORE than one swm-file.
you split from wim to swm when the image is too big.
so there are always more than one swm-file.