Powerhsell Kill Processes
Jump to navigation
Jump to search
This is not truly powershell, but it worked for what I needed at the time.
foreach {$num in 1..99} (taskkill.exe /S computer-$num /IM MpCmdRun.exe)