Privileged Unix Command Probe
NiCE.Library.X.Unix.Command.Privileged.Probe (ProbeActionModuleType)
Probe to run a Privileged Command on Unix Computer
Element properties:
Member Modules:
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>
<p:ExecuteCommand_INPUT xmlns:p="http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_OperatingSystem">
<p:command>$Config/Command$</p:command>
<p:timeout>1800</p:timeout>
</p:ExecuteCommand_INPUT>
</Input>
</ProbeAction>
</MemberModules>
<Composition>
<Node ID="InvokeProbe"/>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>System!System.BaseData</OutputType>
<InputType>System!System.BaseData</InputType>
</ProbeActionModuleType>