{"version":"2.1.335","anchor":"powershell-permission-check-warns-on-type-like-text","canonical_anchor":"powershell-permission-check-warns-on-type-like-text","heading":"PowerShell commands with text that looks like a type may now be refused as unchecked","tier":"notice","area":"PowerShell","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.335\/e\/powershell-permission-check-warns-on-type-like-text","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.335","markdown":"### PowerShell commands with text that looks like a type may now be refused as unchecked\n\nOn Windows, Claude Code can now refuse PowerShell commands containing type-like text, such as [#12], class, enum or configuration\n\n**Unclear.** Whether this check is switched on for a given account is decided remotely and is not known.\n\n**What**\n\nClaude Code has a second PowerShell guard. It looks for text that PowerShell might read as a type, for example `[#12]` or the words class, enum or configuration. When it finds some, Claude Code says it couldn't fully check the command against your permission rules. Permission rules are the settings that decide which commands Claude may run.\n\n- On Windows, whether this guard runs is decided by a setting the server sends.\n\n- Setting `CLAUDE_CODE_DISABLE_POWERSHELL_LIBRARY_LOAD_GUARD` skips it, the same variable that already turns off the library-load guard.\n\n**Why**\n\nIf you use PowerShell on Windows, some commands may now be refused with this message. The environment variable is the way to turn the check off.\n\n- Area: PowerShell\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}