To fix this you need to change the execution policy for this computer. To do this, you need to run PowerShell with administrator rights, then run this command and accept changes.Set-ExecutionPolicy Bypass