Skip to content

Run PowerShell

Run a PowerShell script (inline) or a .ps1 file and capture its output.

Programs & ProcessesRunPowerShellWindows only

Overview

Run PowerShell is a no-code automation step in the Programs & Processes category of AutoFlowRPA. It performs its action in a single step when the workflow reaches it. You can configure 4 parameter(s) to control exactly how it behaves. This step runs on Windows. It is one of 369 commands you can drag into a workflow in the visual builder — no scripting required.

What it does

Run a PowerShell script (inline) or a .ps1 file and capture its output.

Parameters

ParameterTypeRequiredDefaultDescription
PowerShell scriptmultiline
OptionalInline PowerShell. Ignored if a .ps1 file is given below.
Example: Get-Date
Supports variables
Script file (.ps1)file
OptionalOptional. If set, this file is run instead of the inline script.
Example: C:/scripts/task.ps1
Supports variables
Argumentsstring
OptionalPassed to the .ps1 file (only used with a script file).
Supports variables
Store stdout invariable
Optional
Example: output

How to use Run PowerShell

  1. 1

    Open AutoFlowRPA and drag the Run PowerShell command from the Programs & Processes group onto the canvas.

  2. 2

    Set its parameters in the side panel — Run PowerShell has 4 configurable field(s).

  3. 3

    Connect it into your workflow and press Run. Everything executes locally on your machine.

Frequently asked questions

What does the Run PowerShell command do?

Run a PowerShell script (inline) or a .ps1 file and capture its output.

Which group does the Run PowerShell command belong to?

Run PowerShell is part of the Programs & Processes group. AutoFlowRPA ships with 369+ ready-made commands you can combine without code.

Does the Run PowerShell command take any parameters?

Yes — Run PowerShell has 4 configurable field(s), all editable in the visual node editor.

More Programs & Processes commands

Ready to automate your busywork?

Start your free 30-day trial today. No credit card, no commitment.