tasklist and taskkill?tasklist shows all active processes in Windows with their PID, memory usage and name. taskkill allows terminating any process by PID or name. Together they form an essential combo for managing the system from the command line.
tasklist
tasklist /FI "IMAGENAME eq chrome.exe"
Get-Process | Sort-Object WorkingSet -Descending | Select-Object -First 10 Name, Id, @{N='MB';E={[math]::Round($_.WorkingSet/1MB,1)}}
taskkill /PID 4512 /F