WS-Man Shell Script Probe Action

Microsoft.Oss.ShellScript.ProbeAction (ProbeActionModuleType)

Element properties:

TypeProbeActionModuleType
IsolationAny
AccessibilityPublic
RunAsDefault
OutputTypeMicrosoft.SystemCenter.WSManagement.WSManData

Member Modules:

ID Module Type TypeId RunAs 
InvokeProbe ProbeAction Microsoft.Oss.WSMan.Invoke.VarPriv.ProbeAction Default

Source Code:

<ProbeActionModuleType ID="Microsoft.Oss.ShellScript.ProbeAction" Accessibility="Public" Batching="false" PassThrough="false">
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="TargetSystem" type="xsd:string" minOccurs="1"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ShellScript" type="xsd:string" minOccurs="1"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ScriptArguments" type="xsd:string" minOccurs="1"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Timeout" type="xsd:integer" minOccurs="1"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="UserName" type="xsd:string" minOccurs="1"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Password" type="xsd:string" minOccurs="1"/>
</Configuration>
<ModuleImplementation Isolation="Any">
<Composite>
<MemberModules>
<ProbeAction ID="InvokeProbe" TypeID="Microsoft.Oss.WSMan.Invoke.VarPriv.ProbeAction">
<TargetSystem>$Config/TargetSystem$</TargetSystem>
<UserName>$Config/UserName$</UserName>
<Password>$Config/Password$</Password>
<Uri>http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_OperatingSystem?__cimnamespace=root/scx</Uri>
<Selector/>
<InvokeAction>ExecuteScript</InvokeAction>
<Input>
&lt;p:ExecuteScript_INPUT xmlns:p="http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_OperatingSystem"&gt;
&lt;p:script&gt;$Config/ShellScript$&lt;/p:script&gt;
&lt;p:arguments&gt;$Config/ScriptArguments$&lt;/p:arguments&gt;
&lt;p:timeout&gt;$Config/Timeout$&lt;/p:timeout&gt;
&lt;/p:ExecuteScript_INPUT&gt;
</Input>
<TimeOutInMS>300000</TimeOutInMS>
</ProbeAction>
</MemberModules>
<Composition>
<Node ID="InvokeProbe"/>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>WSM!Microsoft.SystemCenter.WSManagement.WSManData</OutputType>
<TriggerOnly>true</TriggerOnly>
</ProbeActionModuleType>