run_powershell_script
Execute PowerShell script files with arguments, configurable working directory, and timeout for reliable Windows automation.
Instructions
Execute a PowerShell script file (.ps1) with arguments. Full system access with MCP-safe subprocess handling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory (default: script's directory) | |
| args | No | Arguments to pass to script | |
| timeout_ms | No | Timeout in milliseconds (default: 60000, max: 600000) | |
| script_path | Yes | Path to PowerShell script (.ps1) |