Остановить агент
Microsoft.SystemCenter.VirtualMachineManager.2016.StopVMMAgent.Task (Task)
Element properties:
Member Modules:
Source Code:
<Task ID="Microsoft.SystemCenter.VirtualMachineManager.2016.StopVMMAgent.Task" Accessibility="Public" Enabled="true" Target="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.VMMAgent">
<Category>Operations</Category>
<WriteAction ID="StopVMMAgent" TypeID="System!System.CommandExecuter">
<ApplicationName/>
<WorkingDirectory/>
<CommandLine>net stop SCVMMAgent</CommandLine>
<TimeoutSeconds>30</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
<Files/>
</WriteAction>
</Task>