{"version":"2.1.326","anchor":"powershell-permission-check-refuses-unparseable-commands-wit","canonical_anchor":"powershell-permission-check-refuses-unparseable-commands-wit","heading":"PowerShell commands that cannot be read are now refused or flagged more clearly","tier":"notice","area":"PowerShell","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326\/e\/powershell-permission-check-refuses-unparseable-commands-wit","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326","markdown":"### PowerShell commands that cannot be read are now refused or flagged more clearly\n\nPowerShell commands Claude Code cannot fully read are now refused under a deny rule or risky wording, and otherwise ask with a trust warning\n\n**What**\n\nBefore Claude runs a PowerShell command, Claude Code reads the command to check it against your permission rules. When that reading fails with a certain kind of error, Claude Code now decides like this:\n\n- The command is refused if a deny rule is set, or if its text looks like it removes something or hides what it runs. The message says it was not run and suggests rewording it without those words.\n\n- Otherwise, Claude Code asks you, with the note \"Allow it only if you trust it.\"\n\nDeny rules are also matched more thoroughly now. Claude Code also checks the command's arguments with some of them left out. Before, these failures all led to a general prompt saying the command contained malformed syntax.\n\n**Why**\n\nIf you use PowerShell, you may see new refusals and prompts for commands Claude Code cannot fully read. This stops such commands from getting past a deny rule.\n\n- Area: PowerShell\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: yes"}