Execute Command Write Action

Microsoft.Unix.WSMan.ExecuteCommand.WriteAction (WriteActionModuleType)

Element properties:

TypeWriteActionModuleType
IsolationAny
AccessibilityPublic
RunAsDefault
InputTypeSystem.BaseData
OutputTypeMicrosoft.SystemCenter.WSManagement.WSManData

Member Modules:

ID Module Type TypeId RunAs 
ExecuteCommand WriteAction Microsoft.Unix.WSMan.Invoke.VarPriv.WriteAction Default

Overrideable Parameters:

IDParameterTypeSelector
Commandstring$Config/Command$

Source Code:

<WriteActionModuleType ID="Microsoft.Unix.WSMan.ExecuteCommand.WriteAction" Accessibility="Public">
<Configuration>
<xsd:element name="TargetSystem" type="xsd:string"/>
<xsd:element name="Command" type="xsd:string"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="Command" ParameterType="string" Selector="$Config/Command$"/>
</OverrideableParameters>
<ModuleImplementation>
<Composite>
<MemberModules>
<WriteAction ID="ExecuteCommand" TypeID="Microsoft.Unix.WSMan.Invoke.VarPriv.WriteAction">
<TargetSystem>$Config/TargetSystem$</TargetSystem>
<UserName>$RunAs[Name="Microsoft.Unix.PrivilegedAccount"]/UserName$</UserName>
<Password>$RunAs[Name="Microsoft.Unix.PrivilegedAccount"]/Password$</Password>
<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;60&lt;/p:timeout&gt;&lt;/p:ExecuteCommand_INPUT&gt;</Input>
<TimeOutInMS>600000</TimeOutInMS>
</WriteAction>
</MemberModules>
<Composition>
<Node ID="ExecuteCommand"/>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>WSM!Microsoft.SystemCenter.WSManagement.WSManData</OutputType>
<InputType>System!System.BaseData</InputType>
</WriteActionModuleType>