This is because the user your running the script as has a undefined ExecutionPolicy
Open your powershell and write this command.
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted
Also take reference from cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at