UiPath Documentation
activities
latest
false
Wichtig :
Bitte beachten Sie, dass dieser Inhalt teilweise mithilfe von maschineller Übersetzung lokalisiert wurde. Es kann 1–2 Wochen dauern, bis die Lokalisierung neu veröffentlichter Inhalte verfügbar ist.

IT-Automatisierungsaktivitäten

Run Power Shell Command

UiPath.AmazonWebServices.Activities.RunPowerShellCommand

Beschreibung

Führt einen PowerShell-Befehl auf einer EC2-Instance aus.

Projektkompatibilität

Windows – Legacy | Windows | Plattformübergreifend

Konfiguration

Eingabe

  • Instance - Specifies the instance on which the operation needs to be performed.
  • Commands - Specifies the commands that need to be run or the paths to the existing scripts on the instance. This field supports only strings and String variables.
  • WorkingDirectory - Specifies the path to the working directory on the instance. This field supports only strings and String variables.
  • Comment - Provides a comment about the command. This field supports only strings and String variables.
  • Timeout - Specifies how long to wait for the activity to run before an error is thrown. If a value is not set, then the activity runs until completed.

Ausgabe

  • CommandOutput - Provides the results of the PowerShell command execution.
    Hinweis:

    Diese Aktivität kann verwendet werden, wenn der Status der Ziel-EC2-Instanz auf Running festgelegt ist und der Amazon SSM Agent-Dienst auch ausgeführt wird. Der Wert des Befehlsparameters kann entweder ein oder mehrere PowerShell-Befehle oder ein oder mehrere Pfade zu vorhandenen Skripts auf der EC2-Instanz sein. Mehrere Befehle oder Pfade müssen durch ein Semikolon („;“) getrennt werden. Beispiel 1: "whoami; $r=""12"";echo $r" Beispiel 2: "C:\Users\Administrator\Documents\ est1.ps1;C:\ est2.ps1"

  • Beschreibung
  • Projektkompatibilität
  • Konfiguration
  • Eingabe
  • Ausgabe

War diese Seite hilfreich?

Verbinden

Benötigen Sie Hilfe? Support

Möchten Sie lernen? UiPath Academy

Haben Sie Fragen? UiPath-Forum

Auf dem neuesten Stand bleiben