The PowerShell activity has the following sub activities:
Activity Name | Common | Input | Output |
---|---|---|---|
Execute PowerShell | Label – A classifying string applied to an activity which can be renamed by the user. It is the display name. Disable – The user can enable or disable the activity. ContinueOnError – It specifies the remaining activities to be executed even when one fails. This field supports only Boolean values (True or False). By default, the value is false so execution terminates when an error occurs. Private – If selected, the log will not be shown in BOT Manager. | IsScript – Command text is a script. Apartment State – It makes a thread to indicate that it will execute in a single-threaded or multithreaded apartment. CommandText – The PowerShell command that is to be executed. Parameters – Collection of PowerShell command parameters. PowerShell Variables – Variables to be passed to the PowerShell Script. Input – Input values to the PowerShell Script. | Output – Output of the executed script. |