UNIX/Linux WS-Management Invoke VarPriv Write Action

Microsoft.Unix.WSMan.Invoke.VarPriv.WriteAction (WriteActionModuleType)

UNIX/Linux WS-Management Invoke Write Action, with variable privileges

Element properties:

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

Member Modules:

ID Module Type TypeId RunAs 
Payload ProbeAction Microsoft.Unix.WSMan.Native.ProbeAction Default
Invoke WriteAction Microsoft.SystemCenter.WSManagement.InvokeAsWA Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
UserNamestring$Config/UserName$User NameUser Name
Passwordstring$Config/Password$PasswordPassword

Source Code:

<WriteActionModuleType ID="Microsoft.Unix.WSMan.Invoke.VarPriv.WriteAction" Accessibility="Public">
<Configuration>
<xsd:element name="TargetSystem" type="xsd:string"/>
<xsd:element name="UserName" type="xsd:string"/>
<xsd:element name="Password" type="xsd:string"/>
<xsd:element name="Uri" type="xsd:string"/>
<xsd:element name="Selector" type="xsd:string"/>
<xsd:element name="InvokeAction" type="xsd:string"/>
<xsd:element name="Input" type="xsd:string"/>
<xsd:element name="TimeOutInMS" type="xsd:unsignedInt"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="UserName" ParameterType="string" Selector="$Config/UserName$"/>
<OverrideableParameter ID="Password" ParameterType="string" Selector="$Config/Password$"/>
</OverrideableParameters>
<ModuleImplementation>
<Composite>
<MemberModules>
<ProbeAction ID="Payload" TypeID="Microsoft.Unix.WSMan.Native.ProbeAction">
<UserName>$Config/UserName$</UserName>
<Password>$Config/Password$</Password>
<InvokeAction>$Config/InvokeAction$</InvokeAction>
<Input>$Config/Input$</Input>
</ProbeAction>
<WriteAction ID="Invoke" TypeID="WSM!Microsoft.SystemCenter.WSManagement.InvokeAsWA">
<Invoke>
<Protocol>https</Protocol>
<TargetSystem>$Config/TargetSystem$</TargetSystem>
<Port>1270</Port>
<Authentication>basic</Authentication>
<UserName>$Data/WSManPayloadData/UserName$</UserName>
<Password>$Config/Password$</Password>
<SkipCACheck>false</SkipCACheck>
<SkipCNCheck>false</SkipCNCheck>
<OutputErrorIfAny>true</OutputErrorIfAny>
<UTF>utf-8</UTF>
<Uri>$Config/Uri$</Uri>
<Selector>$Config/Selector$</Selector>
<InvokeAction>$Data/WSManPayloadData/InvokeAction$</InvokeAction>
<Input>$Data/WSManPayloadData/Input$</Input>
<TimeOutInMS>$Config/TimeOutInMS$</TimeOutInMS>
<EventPolicy>
<EventOnConnectionErrors>false</EventOnConnectionErrors>
</EventPolicy>
</Invoke>
</WriteAction>
</MemberModules>
<Composition>
<Node ID="Invoke">
<Node ID="Payload"/>
</Node>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>WSM!Microsoft.SystemCenter.WSManagement.WSManData</OutputType>
<InputType>System!System.BaseData</InputType>
</WriteActionModuleType>