File ps1 cannot be loaded because running scripts is disabled on this system code example
Example: tsc.ps1 cannot be loaded because running scripts is disabled on this system
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned