Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 3.0 » Get-WindowsImage

Get-WindowsImage - Powershell 3.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

Get-WindowsImage

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

Syntax
Get-WindowsImage [-LogLevel <LogLevel>] [-LogPath <String>] [-ScratchDirectory <String>] -ImagePath <String> -Index <UI
nt32> [<CommonParameters>]
Get-WindowsImage [-LogLevel <LogLevel>] [-LogPath <String>] [-ScratchDirectory <String>] -ImagePath <String> [<CommonPa
rameters>]
Get-WindowsImage [-LogLevel <LogLevel>] [-LogPath <String>] [-ScratchDirectory <String>] -ImagePath <String> -Name <Str
ing> [<CommonParameters>]
Get-WindowsImage [-LogLevel <LogLevel>] [-LogPath <String>] [-ScratchDirectory <String>] -Mounted [<SwitchParameter>] [
<CommonParameters>]





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 compu
ter. 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.