As administrator, you can set the execution policy by typing this in your PowerShell window:

Set-ExecutionPolicy RemoteSigned

When you are done, you can set the policy back to its default value:

Set-ExecutionPolicy Restricted

Or, you can bypass the command for one time

powershell -ExecutionPolicy Bypass -File script.ps1