kill all the process with name using powershell code example Example: script to kill a process in windows taskkill /PID 1234