Quantcast
Channel: TechNet Blogs
Viewing all articles
Browse latest Browse all 36188

PowerTip: See All PowerShell Script Execution Policies

$
0
0

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


Viewing all articles
Browse latest Browse all 36188

Trending Articles