PowerShell Logo Small

Get-WindowsImageContent



This is the built-in help made by Microsoft for the command 'Get-WindowsImageContent', 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

Displays a list of the files and folders in a specified image.

SYNTAX


Get-WindowsImageContent [-LogLevel <LogLevel>] [-LogPath <String>] [-ScratchDirectory <String>] -ImagePath <String> -Index <UInt32> [<CommonParameters>]
Get-WindowsImageContent [-LogLevel <LogLevel>] [-LogPath <String>] [-ScratchDirectory <String>] -ImagePath <String> -Name <String> [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Get-WindowsImageContent cmdlet displays a list of the files and folders in a specified image.


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



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/p/?linkid=273950
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:\>Get-WindowsImageContent -ImagePath c:\imagestore\install.wim -Index 1



This command lists the files and folders in the first image in c:\imagestore\install.wim.






Example 2

PS C:\>Get-WindowsImageContent -ImagePath c:\imagestore\install.wim -Name "Windows Pro"



This command lists the files and folders in the image named Windows Pro that is located in c:\imagestore\install.wim.