View Tasks in Windows with port ID
To view the processes,
1 | Tasklist /fo table |
To kill a process by its name, type the command:
1 | Taskkill /IM "process name" /F |
To kill a process by its PID, type the command:
1 | Taskkill /F /PID pid_number |
example: to kill process with port id (PID)
1 | Taskkill /PID 7980 /F |