(EN DESUSO) InstallAgentScript
Microsoft.Unix.SSHCommand.Elevated.InstallAgentScript.WriteAction (WriteActionModuleType)
(EN DESUSO) Instala un agente en un host.
Element properties:
Member Modules:
Overrideable Parameters:
Source Code:
<WriteActionModuleType ID="Microsoft.Unix.SSHCommand.Elevated.InstallAgentScript.WriteAction" Accessibility="Internal">
<Configuration>
<xsd:element name="Host" type="xsd:string"/>
<xsd:element name="Port" type="xsd:string" minOccurs="0"/>
<xsd:element name="UserName" type="xsd:string"/>
<xsd:element name="Password" type="xsd:string"/>
<xsd:element name="SUPassword" type="xsd:string"/>
<xsd:element name="SUCommand" type="xsd:string"/>
<xsd:element name="InstallCommand" type="xsd:string"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="Host" ParameterType="string" Selector="$Config/Host$"/>
<OverrideableParameter ID="Port" ParameterType="string" Selector="$Config/Port$"/>
<OverrideableParameter ID="UserName" ParameterType="string" Selector="$Config/UserName$"/>
<OverrideableParameter ID="Password" ParameterType="string" Selector="$Config/Password$"/>
<OverrideableParameter ID="SUPassword" ParameterType="string" Selector="$Config/SUPassword$"/>
<OverrideableParameter ID="SUCommand" ParameterType="string" Selector="$Config/SUCommand$"/>
<OverrideableParameter ID="InstallCommand" ParameterType="string" Selector="$Config/InstallCommand$"/>
</OverrideableParameters>
<ModuleImplementation>
<Composite>
<MemberModules>
<WriteAction ID="InstallElevatedAgent" TypeID="System!System.Secure.CommandExecuter">
<ApplicationName>%windir%\system32\cscript.exe</ApplicationName>
<WorkingDirectory/>
<CommandLine>//nologo $file/InstallElevatedAgent.vbs$ $Config/Host$ $Config/Port$ $Config/SUCommand$ $Config/InstallCommand$</CommandLine>
<SecureInput>$Config/UserName$@@secureseparator@@$Config/Password$@@secureseparator@@$Config/SUPassword$</SecureInput>
<TimeoutSeconds>600</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
<!-- InstallElevatedAgent.vbs file content is removed as this module is obsolete and no longer used -->
</WriteAction>
</MemberModules>
<Composition>
<Node ID="InstallElevatedAgent"/>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>System!System.BaseData</OutputType>
<InputType>System!System.BaseData</InputType>
</WriteActionModuleType>