/export-Image |
Applies To: Windows Server 2008 R2,Windows Server 2008
Exports an existing image from the image store to another Windows Image (.wim) file.
Syntax
For boot images:
Copy Code |
|
WDSUTIL [Options] /Export-Image /Image:<Image name> [/Server:<Server name>] |
For install images:
Copy Code |
|
WDSUTIL [Options] /Export-Image /Image:<Image name> [/Server:<Server name>] |
Parameters
Parameter |
Description |
/Image:<Image name> |
Specifies the name of the image to be exported. |
[/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 to be exported. |
[/ImageGroup:<Image group name>] |
Specifies the image group containing the image to be exported. If no image group name is specified and only one image group exists on the server, that image group will be used by default. If more than one image group exists on the server, the image group must be specified. |
/Architecture:{x86 | ia64 | x64} |
Specifies the architecture of the image to be exported. 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 will be returned. |
[/Filename:<Filename>] |
If the image cannot be uniquely identified by name, the file name must be specified. |
/DestinationImage |
Specifies the settings for the destination image. You can specify these settings using the following options:
|
[/Overwrite:{Yes | No | Append}] |
Determines whether the file specified in the /DestinationImage option will be overwritten if an existing file with that name already exists at the /FilePath.
|
Examples
To export a boot image, type one of the following:
Copy Code |
|
WDSUTIL /Export-Image /Image:"WinPE boot image" /ImageType:Boot /Architecture:x86 /DestinationImage /FilePath:"C:\temp\boot.wim" |
To export an install image, type one of the following:
Copy Code |
|
WDSUTIL /Export-Image /Image:"Windows Vista with Office" /ImageType:Install /DestinationImage /FilePath:"C:\Temp\Install.wim" |