PowerShell Logo Small

Expand-WindowsImage



This is the built-in help made by Microsoft for the command 'Expand-WindowsImage', in PowerShell version 4 - as retrieved from Windows version 'Microsoft Windows 8.1 Enterprise' 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

Applies an image to a specified location.

SYNTAX


Expand-WindowsImage [-CheckIntegrity] [-ConfirmTrustedFile] [-LogLevel <LogLevel>] [-LogPath <String>] [-NoRpFix] [-ScratchDirectory <String>] [-SplitImageFilePattern
<String>] [-Verify] [-WIMBoot] -ApplyPath <String> -ImagePath <String> -Index <UInt32> [<CommonParameters>]
Expand-WindowsImage [-CheckIntegrity] [-ConfirmTrustedFile] [-LogLevel <LogLevel>] [-LogPath <String>] [-NoRpFix] [-ScratchDirectory <String>] [-SplitImageFilePattern
<String>] [-Verify] [-WIMBoot] -ApplyPath <String> -ImagePath <String> -Name <String> [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Expand-WindowsImage cmdlet applies an image to a specified location.


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



<

RELATED LINKS

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

REMARKS

<

Examples


Example 1

PS C:\>Expand-WindowsImage -ImagePath c:\imagestore\custom.wim -ApplyPath d:\ -Index 1



This command applies an image at index 1 in the c:\imagestore\custom.wim file to partition d:.






Example 2

PS C:\>Expand-WindowsImage -ImagePath c:\imagestore\split\custom.swm -SplitImageFilePattern c:\imagestore\split\custom*.swm -ApplyPath d:\ -Name "Windows Pro" -Verify



This command applies the split image with a name that matches c:\imagestore\split\custom*.swm with a name of Windows Pro to partition d:. Check for errors and file du
plication while applying the image.