Kill process based on name and commandline
Get-WmiObject Win32_Process -Filter "Name like '%prowin32%' and CommandLine like '%-param DEVELOPMENT%'" |
foreach-object `
-begin { Write-Host 'begin' } `
-process { Stop-Process -Id $_.Handle -WhatIf } `
-end { Write-Host 'end' }