execute_powershell
Run PowerShell scripts and retrieve output securely via the Windows Command Line MCP Server, enabling controlled execution of complex operations and system tasks.
Instructions
Execute a PowerShell script and return its output. This allows for more complex operations and script execution. PowerShell must be in the allowed commands list.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
script | Yes | PowerShell script to execute | |
timeout | No | Timeout in milliseconds | |
workingDir | No | Working directory for the script |