{"version":"2.1.333","anchor":"powershell-permission-matcher-gains-mayonlydeny","canonical_anchor":"powershell-permission-matcher-gains-mayonlydeny","heading":"PowerShell permission rules treat some commands more cautiously","tier":"notice","area":"PowerShell","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/powershell-permission-matcher-gains-mayonlydeny","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### PowerShell permission rules treat some commands more cautiously\n\nPermission rules for PowerShell commands now handle using statements, script requirements and compound commands more cautiously\n\n**Unclear.** Exactly how matching changes for these commands, for allow rules and for deny rules, is not shown.\n\n**What**\n\nClaude Code checks each PowerShell command against your permission rules, the allow and deny settings that decide what may run without asking. That check now treats these commands conservatively:\n\n- commands with `using` statements\n\n- scripts that declare requirements\n\n- compound commands, which chain several commands together\n\n**Why**\n\nThis affects how deny rules match these kinds of PowerShell commands.\n\n- Area: PowerShell\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}