Order
Order
specifies the order in which to execute the synchronous command. RunSynchronous 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 synchronous commands are to be executed. Order is an integer. |
Valid Passes
Parent Hierarchy
Microsoft-Windows-Deployment | RunSynchronous | RunSynchronousCommand | 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 synchronous commands.
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Credentials>
<Domain>MyDomain</Domain>
<Password>MyPassword</Password>
<Username>MyUsername</Username>
</Credentials>
<Description>MySynchCommand1</Description>
<Order>1</Order>
<Path>\\network\server\share\filename</Path>
<WillReboot>OnRequest</WillReboot>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Credentials>
<Domain>MyDomain</Domain>
<Password>MyPassword</Password>
<Username>MyUsername</Username>
</Credentials>
<Description>MySynchCommand2</Description>
<Order>2</Order>
<Path>\\network\server\share\filename</Path>
<WillReboot>OnRequest</WillReboot>
</RunSynchronousCommand>
</RunSynchronous>