Privileged Unix Command Probe

NiCE.Library.X.Unix.Command.Privileged.Probe (ProbeActionModuleType)

Probe to run a Privileged Command on Unix Computer

Element properties:

TypeProbeActionModuleType
IsolationAny
AccessibilityPublic
RunAsDefault
InputTypeSystem.BaseData
OutputTypeSystem.BaseData

Member Modules:

ID Module Type TypeId RunAs 
InvokeProbe ProbeAction Microsoft.Unix.WSMan.Invoke.Privileged.ProbeAction Default

Source Code:

<ProbeActionModuleType ID="NiCE.Library.X.Unix.Command.Privileged.Probe" Accessibility="Public" Batching="false" PassThrough="false">
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="Command" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="TargetSystem" type="xsd:string"/>
</Configuration>
<ModuleImplementation Isolation="Any">
<Composite>
<MemberModules>
<ProbeAction ID="InvokeProbe" 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>ExecuteCommand</InvokeAction>
<Input>
&lt;p:ExecuteCommand_INPUT xmlns:p="http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_OperatingSystem"&gt;
&lt;p:command&gt;$Config/Command$&lt;/p:command&gt;
&lt;p:timeout&gt;1800&lt;/p:timeout&gt;
&lt;/p:ExecuteCommand_INPUT&gt;
</Input>
</ProbeAction>
</MemberModules>
<Composition>
<Node ID="InvokeProbe"/>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>System!System.BaseData</OutputType>
<InputType>System!System.BaseData</InputType>
</ProbeActionModuleType>