https://github.com/sjoerdev/powershell-security-policy
how to disable the powershell security policy
https://github.com/sjoerdev/powershell-security-policy
Last synced: 4 months ago
JSON representation
how to disable the powershell security policy
- Host: GitHub
- URL: https://github.com/sjoerdev/powershell-security-policy
- Owner: sjoerdev
- Created: 2026-01-19T01:09:57.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2026-01-19T01:12:01.000Z (4 months ago)
- Last Synced: 2026-01-19T11:13:01.616Z (4 months ago)
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# how to deal with the powershell security policy
```powershell
# list the current policy (no admin)
Get-ExecutionPolicy -List
# bypass current user (no admin)
Set-ExecutionPolicy Bypass -Scope CurrentUser -Force
# bypass whole machine (admin required)
Set-ExecutionPolicy Bypass -Scope LocalMachine -Force
```