Description
I'm not sure whether using the Split-WindowsImage cmdlet or the Export-WindowsImage cmdlet with the -SplitImageFilePattern parameter is better. I need to test this and determine if there is any difference.
Split-WindowsImage
This is a dedicated cmdlet for splitting an image into .swm files. However I'm unsure if it does any sort of optimization or cleanup like the Export-WindowsImage cmdlet.
Export-WindowsImage
This cmdlet is for exporting images, and with the -SplitImageFilePattern parameter it can create .swm files. However it also explicitly states that it optimizes images during export:
You can also optimize an image by exporting to a new image file with Export-WindowsImage. When you modify an image, DISM stores additional resource files that increase the overall size of the image. Exporting the image will remove unnecessary resource files.
Source
Description
I'm not sure whether using the
Split-WindowsImagecmdlet or theExport-WindowsImagecmdlet with the-SplitImageFilePatternparameter is better. I need to test this and determine if there is any difference.Split-WindowsImage
This is a dedicated cmdlet for splitting an image into
.swmfiles. However I'm unsure if it does any sort of optimization or cleanup like theExport-WindowsImagecmdlet.Export-WindowsImage
This cmdlet is for exporting images, and with the
-SplitImageFilePatternparameter it can create.swmfiles. However it also explicitly states that it optimizes images during export: