execute_powershell
Run PowerShell scripts and retrieve outputs for complex operations. Ensure scripts are in the allowed commands list for secure execution on the Windows Command Line MCP Server.
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 |