execute_powershell
Execute raw PowerShell scripts for arbitrary Windows automation tasks such as registry edits, service control, and file inspection.
Instructions
Run a raw PowerShell script or command on the machine running the driver, inside the session's persistent PowerShell process. Use for arbitrary automation not covered by another tool (registry edits, service control, file inspection, etc). Runs with the same privileges as the driver process — treat as unrestricted code execution.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes | PowerShell script or command to execute |