Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 4.0 » Get-ExecutionPolicy

Get-ExecutionPolicy - Powershell 4.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

Get-ExecutionPolicy

Short description
Gets the execution policies for the current session.

Syntax


Description
The Get-ExecutionPolicy cmdlet gets the execution policies for the current session.


The execution policy is determined by execution policies that you set by using Set-ExecutionPolicy and the Group 
Policy settings for the Windows PowerShell execution policy. The default value is "Restricted."


Without parameters, Get-ExecutionPolicy gets the execution policy that is effective in the session. You can use the 
List parameter to get all execution policies that affect the session or the Scope parameter to get the execution 
policy for a particular scope.


For more information, see about_Execution_Policies (http://go.microsoft.com/fwlink/?LinkID=135170).