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

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 34890

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>