Order

Order specifies the order in which to execute the asynchronous command. RunAsynchronous commands run in the user context in the auditUser configuration pass and in the system context in the specialize pass.

Values

Order

Specifies the order in which asynchronous commands are executed. Order is an integer.

Valid Passes

auditUser

specialize

Parent Hierarchy

Microsoft-Windows-Deployment | RunAsynchronous | RunAsynchronousCommand | Order

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

See Also

Concepts

RunAsynchronousCommand