PowerTip: See All PowerShell Script Execution Policies

Doctor Scripto

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


Discussion is closed.

Feedback usabilla icon