powershell
The tracked changes tagged powershell, newest release first. Every sentence is an item's summary.
Goes with
Changes
Claude Code v2.1.327
-
Fixed auto mode ignoring some wildcard PowerShell allow rules that name a script with .\.
-
Improved startup time on Windows with no Git Bash and no pwsh on PATH by checking PowerShell's standard install locations; System32 powershell.exe now takes precedence over an earlier PATH entry.
-
Windows: Improved PowerShell tool speed by up to about half a second per command.
-
Changed the PowerShell tool to ask before one more command, even under a rule naming it; if nothing answers it is refused unless a whole-tool rule, auto mode or bypass mode allows it.
Claude Code v2.1.326
-
The PowerShell tool asks before more commands, and refuses some commands and malformed commands; unattended runs refuse commands without an allow rule, auto mode or bypass permissions.
-
PowerShell commands that define a function named like a built-in command are refused, so the function must be renamed.
-
Some malformed PowerShell commands are denied.
-
Very long Bash or PowerShell commands and long new files in permission prompts no longer freeze the session for seconds.
Claude Code v2.1.319
-
Changed a session's exact Bash or PowerShell ask rule to be refused, not asked about, when a broader deny rule covers the command.
Claude Code v2.1.316
-
Fixed PowerShell hooks not blocking on exit code 2 when the command begins with a type cast, param, using, or an attribute.
Claude Code v2.1.304
-
Fixed Bash and PowerShell deleting a large command's output file when it could not be copied to the session's tool-results folder, unless the disk is full.
Claude Code v2.1.302
-
Fixed the PowerShell tool not finding commands in a plugin's bin/ folder, and reporting an error when a search that finds nothing (rg, grep, findstr, git grep) is piped into Select-Object or another formatting cmdlet.
Claude Code v2.1.296
-
Fixed PowerShell commands not seeing variables that hooks write to CLAUDE_ENV_FILE when the file holds only plain assignments.
-
Windows: Fixed PowerShell commands longer than about 1 KB always asking for permission; allow rules and read-only detection now apply up to 32 KB.
Claude Code v2.1.285
-
Background Bash and PowerShell commands now stop after a time limit (their timeout with run_in_background, default 30 min, max 2 h), and Claude is notified when one is stopped.
-
Fixed the PowerShell tool's permission check skipping deny and ask rules, and caching that failure, when its command parser failed to start.
Claude Code v2.1.283
-
Fixed the Windows PowerShell tool allowing cmd /c rd, rmdir, del or erase to delete drive roots, the home folder and other folders Remove-Item refuses.
Claude Code v2.1.282
-
Fixed Bash and PowerShell hiding a full disk quota behind "Exit code 1" and leaving large output files in temp.