PowerShell: Check System Execution Policy

Here is another quick script to check your system’s Execution Policy.

batch file: pspolicycheck.bat

@echo off
powershell.exe -noexit Get-ExecutionPolicy -list

This will give you a quick list of Execution Policies on your system and give you a PowerShell prompt. Of course you can always simple run “Get-ExecutionPolicy -list” from the Command Line or PowerShell prompt. You can download bar from the above link or copy the 2 lines above to a text file and rename it .bat.

pspolicycheck-bat

Verified by MonsterInsights