扩展 (extendospartition-扩展) Extend (microsoft-windows-deployment-extendospartition-extend)

Extend 指示是否扩展分区以填充硬盘上的剩余空间。Extend indicates whether to extend the partition to fill the remaining space on the hard disk. 如果在同一配置阶段中存在此设置和 大小 ,则会记录错误,并且安装将终止。If this setting and Size are present in the same configuration pass, an error is logged, and installation is terminated.

Values

truetrue

指定扩展分区以填充磁盘上的剩余空间。Specifies that the partition is extended to fill the remaining space on the disk.

falsefalse

指定不扩展分区。Specifies that the partition is not extended. 这是默认值。This is the default value.

注意Note
只能扩展 NTFS 文件系统分区。You can extend only NTFS file-system partitions.

有效的配置阶段Valid Configuration Passes

auditSystemauditSystem

generalizegeneralize

oobeSystemoobeSystem

specializespecialize

父层次结构Parent Hierarchy

Microsoft-Windows 部署 | ExtendOSPartition | 扩展Microsoft-Windows-Deployment | ExtendOSPartition | Extend

适用于Applies To

有关此组件支持的 Windows 版本和体系结构的列表,请参阅 Microsoft-Windows 部署For a list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-Deployment.

XML 示例XML Example

下面的 XML 输出显示不包含异步或同步命令的部署。The following XML output shows a deployment with no asynchronous or synchronous commands.

<AuditComputerName>
   <MustReboot>true</MustReboot>
   <Name>MyComputer</Name>
</AuditComputerName>
<ExtendOSPartition>
   <Extend>true</Extend>
</ExtendOSPartition>
<Reseal>
   <ForceShutdownNow>true</ForceShutdownNow>
   <Mode>Audit</Mode>
</Reseal>

ExtendOSPartitionExtendOSPartition