{"version":"2.1.337","anchor":"powershell-deny-commands-with-unvalidatable-path-parameters","canonical_anchor":"powershell-deny-commands-with-unvalidatable-path-parameters","heading":"On Windows, PowerShell commands with hard-to-check paths are blocked","tier":"notice","area":"PowerShell","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337\/e\/powershell-deny-commands-with-unvalidatable-path-parameters","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337","markdown":"### On Windows, PowerShell commands with hard-to-check paths are blocked\n\nOn Windows, PowerShell commands with a parameter missing its value, or using -Filter, -Stream or -RelativeBasePath, are now blocked\n\n**Unclear.** It is not clear whether the old \"Sandbox is off\" warning is still shown somewhere else.\n\n**What**\n\nOn Windows, Claude Code now blocks a PowerShell command before it runs when:\n\n- a parameter has no value\n\n- it uses `-Filter`, `-Stream` or `-RelativeBasePath`\n\nThe message says the command was not run and asks for the path to be put in `-Path`. This replaces a warning that began \"Sandbox is off\".\n\n**Why**\n\nOn Windows you may now see PowerShell commands refused that used to run. Putting the path in `-Path` lets them through.\n\n- Area: PowerShell\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: yes"}