getting a process and stopping a process in powershell

The powershell allows you to manage processes in windows. Here is the list of available commands:

PS C:\dev\Tools> Get-Command | Select-String Process

Debug-Process
Get-Process
Start-Process
Stop-Process
Wait-Process


PS C:\dev\Tools> Get-Process java

Handles  NPM(K)    PM(K)      WS(K) VM(M)   CPU(s)     Id ProcessName
-------  ------    -----      ----- -----   ------     -- -----------
   8742     319  -361604   -1245240 -1586 1 088,91  11780 java

shows you all running java processes

stop-process 11780

will terminate the process.