> For the complete documentation index, see [llms.txt](https://docs.wehost.co.in/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wehost.co.in/cybersecurity/bypass-powershell-execution-policy.md).

# Bypass Powershell Execution Policy

* It is NOT a security measure,
  * it is present to prevent user from accidently executing scripts.

### Ways to Bypass

```
powershell -Executionpolicy bypass
```

```
powershell -c <cmd>
```

```
powershell -encodedcommand  $env : PSExecutionPolicyPreference="bypass"
```
