Starta WMI-tjänsten
Microsoft.SystemCenter.StartWMIService (Task)
WMI-tjänsten på agenten startas.
Element properties:
Member Modules:
Source Code:
<Task ID="Microsoft.SystemCenter.StartWMIService" Accessibility="Internal" Enabled="true" Target="SCLibrary!Microsoft.SystemCenter.HealthService" Timeout="300" Remotable="false">
<Category>Maintenance</Category>
<WriteAction ID="WA" TypeID="Microsoft.SystemCenter.2007.StartService">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<ServiceName>Winmgmt</ServiceName>
</WriteAction>
</Task>