#Open powershell as administrator
Get-ExecutionPolicy -List
Scope ExecutionPolicy
----- ---------------
MachinePolicy Undefined
UserPolicy Undefined
Process Unrestricted
CurrentUser Unrestricted
LocalMachine Unrestricted
#Set all to Unrestricted where allowed. The first two are usually managed by group policy.
Set-ExecutionPolicy Unrestricted -Scope Process
#type Y and press enter