# Pastebin rUSPO8jR $ffprocesses = (Get-WmiObject Win32_Process -Filter "name = 'firefox.exe'" | Select-Object CommandLine,ProcessID,ws | Where-Object {$_.commandline -like "*-contentproc*" -and $_.ws -gt "32000000"}) foreach ($firefox in $ffprocesses) { $firefox | ft processid,ws,commandline -wrap get-process -id "$($firefox.processiD)" | Stop-Process }