TIL: There’s a Windows Command line tool to list PIDs

tasklistĀ /svc
This command lists the services currently running with their PIDs. Very useful for finding out which service is using a particular port.

netstatĀ -aon
This command lists open ports with PIDs.

Of course there are windows applications to show you these things (Resource Manager) but it’s nice to know there are command line ways of doing the same thing.

By Lilithe

Dork.