域 (microsoft-runasynchronous-runasynchronouscommand-domain) Domain (microsoft-windows-deployment-runasynchronous-runasynchronouscommand-credentials-domain)

Domain 指定用于身份验证的帐户的域。Domain specifies the domain of the account to use for authentication.

Values

Domain

指定对帐户进行身份验证时要使用的域的名称。Specifies the name of the domain to use when authenticating an account. 是一个字符串。Domain is a string.

该字符串类型不支持空元素。This string type does not support empty elements. 请勿为该设置创建空值。Do not create an empty value for this setting.

有效的配置阶段Valid Configuration Passes

auditUserauditUser

specializespecialize

父层次结构Parent Hierarchy

Microsoft-Windows 部署 | RunAsynchronous | RunAsynchronousCommand | 凭据 | Microsoft-Windows-Deployment | RunAsynchronous | RunAsynchronousCommand | Credentials | Domain

适用于Applies To

有关此组件支持的 Windows 版本和体系结构的列表,请参阅 Microsoft-Windows 部署For the 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 how to set asynchronous commands.

<RunAsynchronous>
   <RunAsynchronousCommand wcm:action="add">
      <Credentials>
         <Domain>MyDomain</Domain>
         <Password>MyPassword</Password>
         <Username>MyUsername</Username>
      </Credentials>
      <Description>AsynchCommand1</Description>
      <Order>1</Order>
      <Path>\\network\server\share\filename</Path>
   </RunAsynchronousCommand>
   <RunAsynchronousCommand wcm:action="add">
      <Credentials>
         <Domain>MyDomain</Domain>
         <Password>MyPassword</Password>
         <Username>MyUsername</Username>
      </Credentials>
      <Description>AsynchCommand2</Description>
      <Order>2</Order>
      <Path>\\network\server\share\filename</Path>
   </RunAsynchronousCommand>
</RunAsynchronous>

凭据Credentials