Solution:

 Run the following command into VS code PowerShell.

Command: Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted