Comando Shell do UNIX/Linux
Microsoft.Unix.ShellCommand.WriteAction (WriteActionModuleType)
Ação de Gravação do Comando Shell do UNIX/Linux
Element properties:
Member Modules:
Source Code:
<WriteActionModuleType ID="Microsoft.Unix.ShellCommand.WriteAction" Accessibility="Public">
<Configuration>
<xsd:element name="TargetSystem" type="xsd:string" minOccurs="1"/>
<xsd:element name="UserName" type="xsd:string" minOccurs="1"/>
<xsd:element name="Password" type="xsd:string" minOccurs="1"/>
<xsd:element name="ShellCommand" type="xsd:string" minOccurs="1"/>
<xsd:element name="TimeOut" type="xsd:unsignedInt" minOccurs="1"/>
<xsd:element name="TimeOutInMS" type="xsd:unsignedInt" minOccurs="1"/>
</Configuration>
<OverrideableParameters/>
<ModuleImplementation>
<Composite>
<MemberModules>
<WriteAction ID="Invoke" TypeID="Unix!Microsoft.Unix.WSMan.Invoke.VarPriv.WriteAction">
<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>ExecuteShellCommand</InvokeAction>
<Input><p:ExecuteShellCommand_INPUT xmlns:p="http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_OperatingSystem"><p:command>$Config/ShellCommand$</p:command><p:timeout>$Config/TimeOut$</p:timeout></p:ExecuteShellCommand_INPUT></Input>
<TimeOutInMS>$Config/TimeOutInMS$</TimeOutInMS>
</WriteAction>
</MemberModules>
<Composition>
<Node ID="Invoke"/>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>WSM!Microsoft.SystemCenter.WSManagement.WSManData</OutputType>
<InputType>System!System.BaseData</InputType>
</WriteActionModuleType>