Start WMI Service

Microsoft.SystemCenter.StartWMIService (Task)

Starts the WMI service on the agent.

Element properties:

TargetMicrosoft.SystemCenter.HealthService
AccessibilityInternal
CategoryMaintenance
EnabledTrue
RemotableFalse
Timeout300

Member Modules:

ID Module Type TypeId RunAs 
WA WriteAction Microsoft.SystemCenter.2007.StartService Default

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>