Reason: The command line execution policy, which is set to Restricted by default, does not load configuration files or run scripts. Need to change the setting to RemoteSigned
Solution:
1. Run VSCode through administrator
2. Enter the command:
set-ExecutionPolicy RemoteSigned
If you don't run as administrator, you will get the following error