PowerShell Logo Small

Get-WindowsImage



This is the built-in help made by Microsoft for the command 'Get-WindowsImage', in PowerShell version 3 - as retrieved from Windows version 'Microsoft Windows Server 2012 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

Gets information about a Windows image in a WIM or VHD file.

SYNTAX


Get-WindowsImage [-LogLevel <LogLevel>] [-LogPath <String>] [-ScratchDirectory <String>] -ImagePath <String> -Index <UInt32>
[<CommonParameters>]
Get-WindowsImage [-LogLevel <LogLevel>] [-LogPath <String>] [-ScratchDirectory <String>] -ImagePath <String> [<CommonParameters>]
Get-WindowsImage [-LogLevel <LogLevel>] [-LogPath <String>] [-ScratchDirectory <String>] -ImagePath <String> -Name <String>
[<CommonParameters>]
Get-WindowsImage [-LogLevel <LogLevel>] [-LogPath <String>] [-ScratchDirectory <String>] -Mounted [<SwitchParameter>] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Get-WindowsImage cmdlet gets information about a Windows image in a WIM or VHD file.

Use the Mounted parameter to get information about any Windows images that are mapped to directories on the local computer. Use the ImagePath
parameter to get information about images in a specific WIM or VHD file.

Use the Index or Name parameter to get detailed information about a specific image in a WIM or VHD file. For a VHD file, the Index must be 1.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=215285
Deployment Image Servicing and Management (DISM) Cmdlets
Dismount-WindowsImage
Mount-WindowsImage
Repair-WindowsImage
Save-WindowsImage

REMARKS

<

Examples


EXAMPLE 1

PS C:\> Get-WindowsImage -Mounted



This command gets information, including mount path, about all of the Windows images mounted on the local computer.




EXAMPLE 2

PS C:\> Get-WindowsImage –ImagePath c:\imagestore\install.wim
–Name Ultimate



This command gets detailed information about the Windows image named “Ultimate” in the install.wim file at c:\imagestore.




EXAMPLE 3

PS C:\> Get-WindowsImage –ImagePath c:\imagestore\install.vhd



This command gets basic information about the Windows image in the install.vhd file at c:\imagestore.