Invoke PowerShell

Executes PowerShell command.

This activity executes a PowerShell command with specified input parameters.

Input

  • Command Text: String Argument The PowerShell command that is to be executed.

  • Input: ICollection Argument 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 ArgumentOptional 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.

  • PowerShell Variables: Dictionary Argument A dictionary of named objects that represent variables used within the current session of the command.

Output

  • Result: String Variable Stores an output returned by the execution of the command in the specified String variable.

Last updated