show / hide menu

Sub Activity – PowerShell

The PowerShell in the “System” category contains activities that enable the execution of PowerShell scripts within the automation process. These activities help in performing advanced system administration tasks, executing commands, and automating configurations.

The PowerShell category has the following sub activities:

Execute PowerShell: This activity is used to execute PowerShell commands with specified parameters. 

Input Properties:

  • IsScript: Indicates whether the command is a script.
  • ApartmentState: Defines the apartment state, indicating whether the thread will execute in a single-threaded or multi-threaded apartment.
  • CommandText: The PowerShell command to be executed.
  • Parameters: A collection of parameters for the PowerShell command.
  • PowerShellVariables: Variables to be passed to the PowerShell script.
  • Input: Input values for the PowerShell script.

Output Properties:

  • Output: The result of the executed script.