PowerShell will not allow you to execute scripts at will. You can change that behavior by running this in an elevated terminal (run as admin):
Set-ExecutionPolicy Unrestricted
The documentation is here.
-Edit-
Adding the -Scope Process
flag is generally encouraged.