I have an own windows service. I want to get the PID of the service and then kill it in the cmd.
Which command could do this for me?
I have an own windows service. I want to get the PID of the service and then kill it in the cmd.
Which command could do this for me?
You could use
tasklist
to enumerate the processes:and then kill the process via
taskkill
: