Run DOS Commands / PowerShell Commands
Description
This step runs a DOS command on a remote Windows machine and returns the output. You provide the command to execute. Use this step in workflows that need to run custom scripts, execute administrative commands, or perform any Windows operation not covered by the other dedicated steps.
Configurations
Input Tab
| No. | Field Name | Description |
|---|---|---|
| 1 | Step Name | Name of the step. This name must be unique within a single workflow. |
Input Fields:
| No. | Field Name | Description |
|---|---|---|
| 1 | Session Name | Select a previously created session name using the Start DOS Session plugin step. This step should always be preceded by a Start DOS/PowerShell Session plugin step. |
| 2 | Script Box | Provide DOS or PowerShell commands or scripts to execute. The data type is String. This field is mandatory. Notes:
|
| Known Issues |
| |
| 3 | Liner | Displays the cursor position in the script box. |
| 4 | Max Wait For Response (In Seconds) | Specify the timeout in seconds for the command execution. The default value is 300 seconds. |
| Output Tab | ||
| 1 | Output | Provides the script output. If multiple commands are executed, the output is combined. The default field name is Output. |
| Common Buttons | ||
| 1 | OK | Validates field values. If any mandatory fields are missing, a validation error is displayed. If all values are correct, the settings are saved. |
| 2 | Cancel | Click to cancel the window without saving any values. |