ng : File C:\Users\wlsnm\AppData\Roaming\npm\ng.ps1 cannot be loaded because running scripts is disabled on this system. For more information code example

Example 1: ng : File C:\Program Files\nodejs\ng.ps1 cannot be loaded because running scripts is disabled on this system.

Run this command on your VScode integrated terminal: 
Set-ExecutionPolicy -ExecutionPolicy Unrestricted

Example 2: File C:\Users\Tariqul\AppData\Roaming\npm\ng.ps1 cannot be loaded because running scripts is disabled on this system.

Set-ExecutionPolicy -ExecutionPolicy Unrestricted