Compartir a través de


AuditComputerName

Applies To: Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Vista

AuditComputerName contains the settings to specify the name of the computer to use during audit mode, and whether to restart the computer immediately after you have specified this name.

Child Elements

MustReboot

Specifies whether to restart the computer immediately after specifying the Name setting.

Name

Specifies the computer name to use during audit mode.

Valid Passes

auditSystem

Parent Hierarchy

Microsoft-Windows-Deployment | AuditComputerName

Applies To

For the list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-Deployment.

XML Example

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>

See Also

Concepts

Microsoft-Windows-Deployment