Powershell: Files cannot be loaded because the running of scripts is disabled on this system

Error message when try running powershell scripts:
“files cannot be loaded because the running of scripts is disabled on this system. Please provide a valid certificate with which to sign the files”

Using this command to allow unsigned powershellscripts: “Set-ExecutionPolicy Unrestricted”

Open an elevated Powershell promt, use the command: “Set-ExecutionPolicy Unrestricted”