> For the complete documentation index, see [llms.txt](https://docs.visualyze.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.visualyze.ai/rpa-studio/application/powershell/invoke-powershell.md).

# Invoke PowerShell

This activity executes a PowerShell command with specified input parameters.

### Input

* **Command Text:** [`String Argument`](/getting-started/rpa-studio/arguments.md#string)![](/files/-MVREnwPf_D3-qJvjjYd)\
  The PowerShell command that is to be executed.
* **Input:** [`ICollection Argument`](/getting-started/rpa-studio/arguments.md#icollection)\
  A collection of PSObjects that are passed to the writer of the pipeline used to execute the command. Can be the output of another Invoke PowerShell activity.
* **Parameters:** [`Dictionary Argument`](/getting-started/rpa-studio/arguments.md#dictionary)`Optional`\
  A dictionary of PowerShell command parameters.

### Misc

* **IsScript:**
  * `True` - Specifies that the command text is a script.
  * `False` - Specifies that the command text is not a script.<br>
* **PowerShell Variables:** [`Dictionary Argument`](/getting-started/rpa-studio/arguments.md#dictionary)\
  A dictionary of named objects that represent variables used within the current session of the command.

### Output

* **Result:** [`String Variable`](/getting-started/rpa-studio/variables.md#string)\
  Stores an output returned by the execution of the command in the specified [String ](/getting-started/rpa-studio/variables.md#string)variable.
