Typ działania zapisu Zatrzymaj usługę WMI
Microsoft.SystemCenter.StopWMI.WriteAction (WriteActionModuleType)
Służy do uruchomienia zadania odzyskiwania procesu WMI.
Element properties:
Member Modules:
Overrideable Parameters:
Source Code:
<WriteActionModuleType ID="Microsoft.SystemCenter.StopWMI.WriteAction" Accessibility="Internal" Batching="false">
<Configuration>
<xsd:element minOccurs="1" name="TaskKillFilter" type="xsd:string"/>
<xsd:element minOccurs="1" name="TimeoutSeconds" type="xsd:integer"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="TimeoutSeconds" Selector="$Config/TimeoutSeconds$" ParameterType="int"/>
</OverrideableParameters>
<ModuleImplementation Isolation="Any">
<Composite>
<MemberModules>
<WriteAction ID="RunScript" TypeID="System!System.CommandExecuter">
<ApplicationName>%comspec%</ApplicationName>
<WorkingDirectory/>
<CommandLine>/C TaskKill.exe /F /IM WmiPrvSE.exe /FI "$Config/TaskKillFilter$"</CommandLine>
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
</WriteAction>
</MemberModules>
<Composition>
<Node ID="RunScript"/>
</Composition>
</Composite>
</ModuleImplementation>
<InputType>System!System.TriggerData</InputType>
</WriteActionModuleType>