Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Stop-Process Powershell Basics


Published on

Published in: Software
  • Be the first to comment

  • Be the first to like this

Stop-Process Powershell Basics

  1. 1. Stop-Process #Stop the notepad process Stop-Process -Name notepad #Stop the chrome browser process Stop-Process -Name chrome #To stop all the browsers that are currently running Get-Process chrome, firefox, iexplore | Stop-Process #Find the processes that is consuming more memory and stop it Get-Process | where-object {$_.WorkingSet -gt 100MB} #stops only the process id: 7992 Stop-Process -id 7992 #stops all the processes Get-Process | where-object {$_.WorkingSet -gt 100MB} | Stop-Process #To stop sqlserver related processes Get-Process sql* | Stop-Process