AD | Application | AWS | Azure | Cloud | Database | Enterprise | Environmental | Event Log | File System | IoT | IT Service | Network/System | NIS2 | Infra | Performance | Protocol | SaaS | Security | Service Level | Storage | Linux | VMware | VoIP | Web | Wireless | SNMP

MonitorTools.com » Administration » Powershell » Powershell 3.0 » Get-ExecutionPolicy

Get-ExecutionPolicy - Powershell 3.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 Lis
t parameter to get all execution policies that affect the session or the Scope parameter to get the execution policy fo
r a particular scope.


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





M