Pages

Showing posts with label powershell execution policies. Show all posts
Showing posts with label powershell execution policies. Show all posts

Sunday, 22 July 2012

PowerShell Execution Policy

Following are the execution policies available in PowerShell


1. Restricted: PowerShell Execution policy is set to Restricted by default which means powershell scripts are not allowed for execution


2. All Signed: In this policy, only the signed powershell scripts are allowed for execution


3. RemoteSigned: In this policy, all powershell unsigned scripts present on local harddrive are allowed for execution but scripts are executed remotely from a network share or from internet are not allowed for executed, 


   remote scripts need to be signed for execution.


4. UnRestricted: In this policy all powershell scripts whether they are signed or unsigned are allowed for execution.