# PowerShell

Shell/command execution. Keywords: shell, run, execute, cmd, terminal, command line, script. A comprehensive system tool for executing any PowerShell commands. Use it to navigate the file system, manage files and processes, and execute system-level operations. Capable of accessing web content (e.g., via Invoke-WebRequest), interacting with network resources, and performing complex administrative tasks. This tool provides full access to the underlying operating system capabilities, making it the primary interface for system automation, scripting, and deep system interaction.

Agent View of the PolicyLayer registry record for `PowerShell`. HTML page: https://policylayer.com/tools/13888285815-windows-mcp/powershell

## Facts

- Tool: `PowerShell`
- Server: Windows-MCP (`13888285815/windows-mcp`) — https://policylayer.com/tools/13888285815-windows-mcp.md
- Homepage: https://github.com/13888285815/windows-mcp
- Risk category: Execute (High risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Rate-limited

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "PowerShell",
    "arguments": {}
  }
}
```

## Why PowerShell is rated High

PowerShell is a command execution tool that can run arbitrary shell commands with unrestricted access to the Windows operating system. It can execute destructive operations (delete files, kill processes), perform financial transactions (via scripts), access network resources, modify system configuration, and invoke external programs.

From the tool's own definition: "'Shell/command execution', 'executing any PowerShell commands', 'full access to the underlying operating system capabilities', 'execute system-level operations', 'system automation, scripting, and deep system interaction'"

Risk signals: Admin/system-level operation

## Use case

AI agents invoke PowerShell to trigger actions in Windows-MCP. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call: builds kicked off, notifications sent, workflows started.

## Recommended policy (PolicyLayer)

Verdict: **Rate-limited**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Windows-MCP:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "PowerShell": {
      "limits": [
        {
          "counter": "powershell_rate",
          "window": "minute",
          "max": 10,
          "scope": "grant"
        }
      ]
    }
  }
}
```

## Other tools on Windows-MCP (17)

- `FileSystem` — Destructive — https://policylayer.com/tools/13888285815-windows-mcp/filesystem.md
- `App` — Execute — https://policylayer.com/tools/13888285815-windows-mcp/app.md
- `Click` — Execute — https://policylayer.com/tools/13888285815-windows-mcp/click.md
- `MultiEdit` — Execute — https://policylayer.com/tools/13888285815-windows-mcp/multiedit.md
- `MultiSelect` — Execute — https://policylayer.com/tools/13888285815-windows-mcp/multiselect.md
- `Scroll` — Execute — https://policylayer.com/tools/13888285815-windows-mcp/scroll.md
- `Shortcut` — Execute — https://policylayer.com/tools/13888285815-windows-mcp/shortcut.md
- `Type` — Execute — https://policylayer.com/tools/13888285815-windows-mcp/type.md
- `Wait` — Execute — https://policylayer.com/tools/13888285815-windows-mcp/wait.md
- `Clipboard` — Read — https://policylayer.com/tools/13888285815-windows-mcp/clipboard.md
- `Process` — Read — https://policylayer.com/tools/13888285815-windows-mcp/process.md
- `Scrape` — Read — https://policylayer.com/tools/13888285815-windows-mcp/scrape.md
- `Screenshot` — Read — https://policylayer.com/tools/13888285815-windows-mcp/screenshot.md
- `Snapshot` — Read — https://policylayer.com/tools/13888285815-windows-mcp/snapshot.md
- `Move` — Write — https://policylayer.com/tools/13888285815-windows-mcp/move.md
- `Notification` — Write — https://policylayer.com/tools/13888285815-windows-mcp/notification.md
- `Registry` — Write — https://policylayer.com/tools/13888285815-windows-mcp/registry.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=13888285815-windows-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/13888285815-windows-mcp
