How to Kill Process by Id on PowerShell?
To retrieve the info about a process given its PID, for example, 85188, you can use the PowerShell command Get-Process
:
Get-Process -ID 85188
That will return some info, such as the name of the process:
And then, to kill it, you can run
taskkill /PID 85188 /F
Related notes
🔗 How to find the process that is bound to a Port?