run_script
Execute PowerShell scripts on Windows systems through the PowerShell MCP Server by specifying the script path and optional parameters for automation and system management tasks.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
parameters | No | Optional parameters to pass to the script | |
scriptPath | Yes | Path to the PowerShell script file |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"parameters": {
"description": "Optional parameters to pass to the script",
"type": "string"
},
"scriptPath": {
"description": "Path to the PowerShell script file",
"type": "string"
}
},
"required": [
"scriptPath"
],
"type": "object"
}