Some bad advice in there...
Set-ExecutionPolicy Unrestricted -Force
Should be: Set-ExecutionPolicy Unrestricted -Scope Process
Turning off that feature permanently is a bad idea.