April 13th, 2013

PowerTip: See All PowerShell Script Execution Policies

Doctor Scripto
Scripter

Summary: Find the settings for all five script execution policy scopes. 

Hey, Scripting Guy! Question How can I use Windows PowerShell to see all of the script execution policies that affect the current Windows PowerShell session?

           Hey, Scripting Guy! Answer Use the Get-ExecutionPolicy cmdlet with the –List parameter:

                             Get-ExecutionPolicy -List

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.