将现有映像从映像存储区导出到另一个 Windows 映像 (.wim) 文件。
Syntax
对于启动映像:
wdsutil [options] /Export-Image image:<Image name> [/Server:<Servername>]
imagetype:Boot /Architecture:{x86 | ia64 | x64} [/Filename:<Filename>]
/DestinationImage
/Filepath:<Filepath and name>
[/Name:<Name>]
[/Description:<Description>]
[/Overwrite:{Yes | No}]
对于安装映像:
wdsutil [options] /Export-Image image:<Image name> [/Server:<Servername>]
imagetype:Install imageGroup:<Image group name>]
[/Filename:<Filename>]
/DestinationImage
/Filepath:<Filepath and name>
[/Name:<Name>]
[/Description:<Description>]
[/Overwrite:{Yes | No | append}]
Parameters
| Parameter | Description |
|---|---|
image:<Imagename> |
指定要导出的映像的名称。 |
[/Server:<Servername>] |
指定服务器的名称。 可以是 NetBIOS 名称或完全限定域名 (FQDN)。 如果未指定服务器名称,将使用本地服务器。 |
imagetype:{Boot|Install} |
指定要导出的映像的类型。 |
\imageGroup:<Image group name>] |
指定包含要导出的映像的映像组。 如果未指定映像组名,并且服务器上只有一个映像组,则将默认使用该映像组。 如果服务器上存在多个映像组,必须指定映像组。 |
/Architecture:{x86|ia64|x64} |
指定要导出的映像的体系结构。 由于不同体系结构中的启动映像可能具有相同的映像名称,因此指定体系结构值可确保返回正确的映像。 |
[/Filename:<Filename>] |
如果无法按名称唯一标识映像,则必须指定文件名。 |
| /DestinationImage | 指定目标映像的设置。 可以使用以下选项指定这些设置:
|
[/Overwrite:{Yes|No|append}] |
确定如果 /Filepath 中已存在具有该名称的现有文件,则是否覆盖 /DestinationImage 选项中指定的文件。 “ 是 ”选项会导致覆盖现有文件,如果已存在具有相同名称的文件,则“ 否 ”选项(默认)会导致发生错误,而 “追加 ”选项会导致生成的图像作为新图像追加到现有 .wim 文件中。 |
Examples
若要导出启动映像,请键入以下任一项:
wdsutil /Export-Image image:WinPE boot image imagetype:Boot /Architecture:x86 /DestinationImage /Filepath:C:\temp\boot.wim
wdsutil /verbose /Progress /Export-Image image:WinPE boot image /Server:MyWDSServer imagetype:Boot /Architecture:x64 /Filename:boot.wim /DestinationImage /Filepath:\\Server\Share\ExportImage.wim /Name:Exported WinPE image /Description:WinPE Image from WDS server /Overwrite:Yes
若要导出安装映像,请键入以下任一项:
wdsutil /Export-Image image:Windows Vista with Office imagetype:Install /DestinationImage /Filepath:C:\Temp\Install.wim
wdsutil /verbose /Progress /Export-Image image:Windows Vista with Office /Server:MyWDSServer imagetype:Instal imageGroup:ImageGroup1 /Filename:install.wim /DestinationImage /Filepath:\\server\share\export.wim /Name:Exported Windows image /Description:Windows Vista image from WDS server /Overwrite:append