(OBSOLÈTE) InstallAgentScript

Microsoft.Unix.SSHCommand.Elevated.InstallAgentScript.WriteAction (WriteActionModuleType)

(OBSOLÈTE) Installe un agent sur un hôte.

Element properties:

TypeWriteActionModuleType
IsolationAny
AccessibilityInternal
RunAsDefault
InputTypeSystem.BaseData
OutputTypeSystem.BaseData

Member Modules:

ID Module Type TypeId RunAs 
InstallElevatedAgent WriteAction System.Secure.CommandExecuter Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
Hoststring$Config/Host$Hôte
Portstring$Config/Port$Port
UserNamestring$Config/UserName$Nom d'utilisateur
Passwordstring$Config/Password$Mot de passe
SUPasswordstring$Config/SUPassword$Mot de passe d'élévation
SUCommandstring$Config/SUCommand$Commande d'élévation
InstallCommandstring$Config/InstallCommand$Commande d'installation

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>