Taking on PowerShell one cmdlet at a time

Share this post: This is part of an ongoing blog series by Adam Gordon. Adam will show you how to use each PowerShell command each week. Adam will be covering Get-ExecutionPolicy this week.

When to use the Get-ExecutionPolicy
You can get the execution policies for the current session at any time.
Get-ExecutionPolicy without parameters will show you the most effective execution policy for your PowerShell session.
Execution policies that are set using Set-ExecutionPolicy or Group Policy settings determine the effective execution policy.

How to use the Get-ExecutionPolicy
This command displays the execution policies of each scope in the order they are precedence.
Get-ExecutionPolicy -List

Do you need PowerShell training? ITProTV offers PowerShell online IT training courses.