Suppose you want to stop a browser’s process from running on windows then the command to stop a process from running on windows os is as follows:-
Open up the power shell application and type in the below command.
Get-Process -name Chrome | Stop-Process
If you have Google Chrome open at that moment then this command will shut it down! Make sure you have entered the name of the process correctly after the -name parameter!
Alternatively, you can also directly use the below command to get the same outcome.
Stop-Process -name Chrome
Make sure you save everything first before closing that web browser 🙂