powershell terminate process code example Example: stop process id powershell Stop-Process -ID 2137 -Force