SCEP Linux Shell Command Probe Action
Microsoft.SCEP.Linux.ShellExecute.PA (ProbeActionModuleType)
Element properties:
Member Modules:
Overrideable Parameters:
Source Code:
<ProbeActionModuleType ID="Microsoft.SCEP.Linux.ShellExecute.PA" Accessibility="Public" Batching="false" PassThrough="false">
<Configuration>
<xsd:element minOccurs="1" name="TargetSystem" type="xsd:string"/>
<xsd:element minOccurs="1" name="ShellCommand" type="xsd:string"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="ShellCommand" Selector="$Config/ShellCommand$" ParameterType="string"/>
</OverrideableParameters>
<ModuleImplementation Isolation="Any">
<Composite>
<MemberModules>
<ProbeAction ID="Probe" TypeID="Unix!Microsoft.Unix.WSMan.Invoke.Privileged.ProbeAction">
<TargetSystem>$Config/TargetSystem$</TargetSystem>
<Uri>http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_OperatingSystem?__cimnamespace=root/scx</Uri>
<Selector/>
<InvokeAction>ExecuteShellCommand</InvokeAction>
<Input><p:ExecuteShellCommand_INPUT xmlns:p="http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_OperatingSystem"><p:command>$Config/ShellCommand$</p:command><p:timeout>180</p:timeout></p:ExecuteShellCommand_INPUT></Input>
</ProbeAction>
</MemberModules>
<Composition>
<Node ID="Probe"/>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>SystemCenter!Microsoft.SystemCenter.WSManagement.WSManData</OutputType>
<InputType>System!System.BaseData</InputType>
</ProbeActionModuleType>