Running Visual Studio Code as Administrator does not allow proper execution of commands in the terminal.

 

In the terminal of Visual Studio Code, you can view the current settings through the Get-ExecutionPolicy command. The default is Restricted. If you change to RemoteSigned via Set-ExecutionPolicy Commands, you can use commands that could not be executed in the terminal.

+ Recent posts