{ "name": "pwSh", "display_name": "pwSh", "kind": "module", "description": "Initialize and use the in-memory PowerShell runner. The runner DLL is fixed to Tools/Any/any/rdm.dll.", "command_template": "pwSh {action} {command_or_script:q?} {arguments:raw?}", "target": "beacon", "requires_session": true, "platforms": ["windows"], "archs": ["x86", "x64", "arm64"], "args": [ { "name": "action", "type": "enum", "required": true, "description": "PwSh action.", "values": ["init", "run", "import", "script"] }, { "name": "command_or_script", "type": "text", "required": false, "description": "PowerShell command for run, or script artifact for import/script.", "artifact_filter": { "category": "script", "scope": "server", "target": "beacon", "platform": "windows", "runtime": "powershell", "name_contains": ".ps1" }, "completion_parents": ["import", "script"] }, { "name": "arguments", "type": "text", "required": false, "description": "Optional PowerShell command tail.", "variadic": true } ], "examples": [ "pwSh init", "pwSh run whoami", "pwSh import PowerView.ps1", "pwSh script collect.ps1" ], "source": "manifest" }