Description (microsoft-windows-deployment-runasynchronous-runasynchronouscommand-description)

Description 简要描述要运行的异步命令。 RunAsynchronous 命令在 auditUser 配置阶段的用户上下文中运行,并在 specialize 阶段的系统上下文中运行。

描述

指定要异步运行的命令的说明。 “Description”是一个字符串,其最大长度为 259 个字符

该字符串类型不支持空元素。 请勿为该设置创建空值。

有效配置阶段

auditUser

specialize

父层次结构

Microsoft-Windows-Deployment | RunAsynchronous | RunAsynchronousCommand | Description

应用于

有关此组件支持的受支持 Windows 版本和体系结构的列表,请参阅 Microsoft-Windows-Deployment

XML 示例

以下 XML 输出显示如何设置异步命令。

<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>

RunAsynchronousCommand