tool-powershell
Use when a PowerShell tool call fails with a bare "Exit code 1", fails the same way twice, or is refused as blocked or protected. Covers getting the real error, the two-strikes stop rule, reporting a policy block instead of routing around it, and previewing deletions. For "Access is denied" from powershell.exe in WSL, use windows-elevation-from-wsl.
- License
- MIT
- Compatibility
- A session that drives Windows PowerShell or pwsh through a PowerShell tool or a shell. Not for plain Linux or macOS sessions.
Pinned to revision 1434f6275008, so it is the text this page describes rather than whatever the author pushed since.
Files
Every link opens the file at its source, pinned to the revision this page describes.