PowerShell Logo Small

Split-WindowsImage



This is the built-in help made by Microsoft for the command 'Split-WindowsImage', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Splits an existing .wim file into multiple read-only split .wim files.

SYNTAX


Split-WindowsImage [-CheckIntegrity] [-LogLevel {Errors | Warnings | WarningsInfo}] [-LogPath <String>] [-ScratchDirectory <String>] -FileSize <UInt64> -ImagePath <String>
-SplitImagePath <String> [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


This option creates the .swm files in the specified directory, naming each file the same as the specified path_to_swm, but with an appended number. For example, if you set
path_to_swm as c:\Data.swm, this option creates a Data.swm file, a Data2.swm file, a Data3.swm file, and so on, defining each portion of the split .wim file and saving it to
the C:\ directory.

If a single file is larger than the value specified in the -FileSize parameter, one of the split .swm files that results will be larger than the value specified in the
-FileSize parameter, in order to accommodate the large file.


This cmdlet does not apply to virtual hard disk (VHD) files.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/p/?linkid=273953
Add-WindowsImage
Dismount-WindowsImage
Expand-WindowsImage
Export-WindowsImage
Get-WindowsImage
Mount-WindowsImage
New-WindowsImage
Repair-WindowsImage
Remove-WindowsImage
Save-WindowsImage

REMARKS

<

Examples


Example 1

PS C:\>Split-WindowsImage -ImagePath c:\imagestore\install.wim -SplitImagePath c:\imagestore\splitfiles\split.swm -FileSize 1024 -CheckIntegrity



This command uses the image from c:\imagestore\install.wim to create a split.swm file, a split2.swm file, a split3.swm file, and so on, defining each portion of the split
.wim file with a maximum size of 1024 MB and saving it to the C:\ imagestore\splitfiles\ directory.