Setting Permissions to Run PowerShell Scripts
Posted by Johan Cyprich on 23 Apr 2009 | Tagged as: How To
When PowerShell is installed, it sets the default execution policy to Restricted which allows commands to be executed, not scripts. I don’t think this is the best approach for the application since the scripting is the main reason why people would install and use PowerShell.
You can determine what the execution policy is with this command:
Get-ExecutionPolicy
There [...]