Skip to main content
Glama

run_powershell_with_progress

Execute PowerShell commands with real-time progress tracking and detailed execution reporting for enterprise automation and system management tasks.

Instructions

Execute PowerShell commands with detailed progress reporting.

Args: code: PowerShell code to execute timeout: Command timeout in seconds (1-300, default 60) ctx: MCP context for logging and progress reporting Returns: Command output as string with execution details

Input Schema

NameRequiredDescriptionDefault
codeYes
timeoutNo
ctxNo

Input Schema (JSON Schema)

{ "properties": { "code": { "title": "Code", "type": "string" }, "ctx": { "anyOf": [ { "$ref": "#/$defs/Context" }, { "type": "null" } ], "default": null }, "timeout": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": 60, "title": "Timeout" } }, "required": [ "code" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/DynamicEndpoints/PowerShell-Exec-MCP-Server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server