20/10/2021

ps1 cannot be loaded because running scripts is disabled on this system

This issue happened when the user having an undefined ExecutionPolicy.

Apply below command on the terminal it should solve the issue:

Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted

Read more...