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