how to kill a process on Powershell, Windows 10 code example Example: script to kill a process in windows taskkill /PID 1234