Run PowerShell on a Windows endpoint
action1_run_powershellExecute PowerShell scripts on Windows endpoints as SYSTEM to automate system administration tasks, with configurable timeout and retry options.
Instructions
Run PowerShell on a Windows endpoint via the run_powershell template. Runs as SYSTEM (no user profile).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Friendly action name. | |
| org_id | No | Org UUID. | |
| confirm | No | Required to execute. Exact string "YES". | |
| dry_run | No | Default true (preview). Set false to execute. | |
| endpoint_id | Yes | Endpoint UUID, or Group ID when target_type='EndpointGroup'. | |
| script_text | Yes | Script source. | |
| target_type | No | Endpoint (default) or EndpointGroup for fan-out. | |
| retry_minutes | No | Retry window in minutes when endpoint is offline. | |
| response_format | No | Output format. Default markdown. | |
| timeout_minutes | No | Per-action timeout in minutes (number or digit-string). | |
| success_exit_codes | No | Comma-separated success exit codes. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||