Last Updated on
When executing some PowerShell scripts, this error comes up.
… .ps1 cannot be loaded because running script is disabled on this system, for more information see about_Execution_Policies at https://go,microsoft.com/fwlink/?LinkID=135170
1 Enter following command then hit Enter key in PowerShell
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Unrestricted
2 Enter Y or A to continue when prompted.
3 Now we can run the script again, this time there should be no error returned.