Home > Blockchain >  Stop Visual Studio 2022 process from command line
Stop Visual Studio 2022 process from command line

Time:06-29

Is there a way to use Stop-Process in PowerShell to close Visual Studio 2022?

Task Manager shows the following for an instance of Visual Studio:

enter image description here

It isn't clear which process I should call Stop-Process on to gracefully exit the program.

CodePudding user response:

get-process devenv | kill

Should do the trick

  • Related