Partager via


/get-Image

Applies To: Windows Server 2008, Windows Server 2008 R2

Retrieves information about an image.

Syntax

For boot images:

WDSUTIL [Options] /Get-Image /Image:<Image name> [/Server:<Server name>] /ImageType:Boot /Architecture:{x86 | ia64 | x64} [/Filename:<File name>]

For install images:

WDSUTIL [Options] /Get-Image /Image:<Image name> [/Server:<Server name>] /ImageType:Install [/ImageGroup:<Image group name>] [/Filename:<File name>]

Parameters

Parameter Description

/Image:<Image name>

Specifies the name of the image.

[/Server:<Server name>]

Specifies the name of the server. This can be either the NetBIOS name or the fully qualified domain name (FQDN). If no server name is specified, the local server will be used.

/ImageType:{Boot | Install}

Specifies the type of image.

/Architecture:{x86 | ia64 | x64}

Specifies the architecture of the image. Because it is possible to have the same image name for boot images in different architectures, specifying the architecture value ensures that the correct image is returned.

[/Filename:<File name>]

If the image cannot be uniquely identified by name, you must use this option to specify the file name.

[/ImageGroup:<Image group name>]

Specifies the image group that contains the image. If no image group is specified and only one image group exists on the server, that group will be used. If more than one image group exists on the server, you must use this parameter to specify the image group.

Examples

To retrieve information about a boot image, type one of the following:

WDSUTIL /Get-Image /Image:"WinPE boot image" /ImageType:Boot /Architecture:x86
WDSUTIL /Verbose /Get-Image /Image:"WinPE boot image" /Server:MyWDSServer /ImageType:Boot /Architecture:x86 /Filename:boot.wim

To retrieve information about an install image, type one of the following:

WDSUTIL /Get-Image /Image:"Windows Vista with Office" /ImageType:Install
WDSUTIL /Verbose /Get-Image /Image:"Windows Vista with Office" /Server:MyWDSServer /ImageType:Install /ImageGroup:ImageGroup1 /Filename:install.wim

Additional references

Command-Line Syntax Key

/add-Image

/copy-Image

/export-Image

/remove-Image

/replace-Image

/set-Image