Windows Network Commands
Basic Windows Commands
Go to command prompt/PowerShell. Click on start > run > Type cmd command. At dos/nt prompt type command following command to display active connections type the following command:
netstat
To Displays all active TCP connections and the TCP and UDP ports on which the computer is listening type the following command
netstat -a
To displays active TCP connections and includes the process ID (PID) for each connection type the following command:
netstat -o
To display both the Ethernet statistics and the statistics for all protocols, type the following command:
netstat -s -e
To get help on this command:
netstat /?