Skip to content

Run PowerShell command

Description

Executes a PowerShell terminal command with the input command name and arguments. Outputs the stdout from the command

Input Ports

Name dataType sourceType required description
Run as text link-manual true Run powershell as Current user, Other user or Admin, the Other user options allows you to specify the domain, username and password of the other user
Command text link-manual true The command you want to execute. The command should be a valid command based on the environment. More info
Parameters text-list link-manual false The parameters are the variables that the command utilize, and the order of it is important. When you create a parameter, you need to link a value to it using a port

Scenarios

  • The user wants to execute terminal commands using powershell

Use case

Command

Inputs
  • Run as: Current user
  • Command: dir
  • Parameters:
Experienced tips
  • If you do not specify a command, the process will stop and provide you with the following error. Command is missing
Output

Output

Search Tags

Execute powershell commands