Investigação de status dos serviços do IIS
Microsoft.Windows.InternetInformationServices.10.0.GetIISServicesStatus (ProbeActionModuleType)
Esta ação de investigação executa um comando IISRESET no Windows Server 2016 e 1709+
Element properties:
Member Modules:
Overrideable Parameters:
Source Code:
<ProbeActionModuleType ID="Microsoft.Windows.InternetInformationServices.10.0.GetIISServicesStatus" Accessibility="Internal" RunAs="System!System.PrivilegedMonitoringAccount" Batching="false" PassThrough="false">
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="TimeoutSeconds" type="xsd:integer"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="TimeoutSeconds" Selector="$Config/TimeoutSeconds$" ParameterType="int"/>
</OverrideableParameters>
<ModuleImplementation Isolation="Any">
<Composite>
<MemberModules>
<ProbeAction ID="Probe" TypeID="System!System.CommandExecuterProbe">
<ApplicationName>%WINDIR%\SYSTEM32\IISRESET.EXE</ApplicationName>
<WorkingDirectory>%windir%\system32</WorkingDirectory>
<CommandLine>/STATUS</CommandLine>
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
</ProbeAction>
</MemberModules>
<Composition>
<Node ID="Probe"/>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>System!System.CommandOutput</OutputType>
<InputType>System!System.BaseData</InputType>
</ProbeActionModuleType>