PowerShell – Execution Policies

Just as an FYI, when you try to run your first PS script file, you will more than likely run afoul of the execution policies which are in place to prevent you from accidentally doing much damage by allowing one of these bad boys to run unchecked. So your first order of business is to cruise over here and familiarize yourself with the policies and then fire up PowerShell as an administrator and run this:

Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser

Now you’ll be able to run scripts.

Comments are closed.