ng g component error in powershell cannot be loaded because running scripts is disabled on this system code example
Example: npm ng.ps1 cannot be loaded because running scripts is disabled on this system grepper
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser