Skip to content

Is Split-WindowsImage or Export-WindowsImage with SplitImageFilePattern better? #44

@aisgbnok

Description

@aisgbnok

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

Metadata

Metadata

Assignees

Labels

DocumentationImprovements or additions to documentationQuestionFurther information is requested

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions