This is a cheat list of the most used Network Commands in Windows.
| Command | It solves the problem of... | Try it from your Command Line |
|---|---|---|
| arp -a | It shows the arp table in your PC | arp -a |
| ftp | it opens a ftp connection wit a remote server | |
| getmac | Displays your PC MAC Addresses (Network card, Wifi card, etc.) | getmac |
| hostname | Shows the computer hostname | hostname |
| ipconfig | It shows all network interfaces configuration | ipconfig /all |
| netstat -an | Displays active TCP connections | netstat -an |
| nbtstat | displays protocol statistics and current TCP/IP connections using NBT (NetBIOS over TCP/IP) | nbtstat -a |
| nslookup | Check IP Address linked to a domain name | nslookup www.wikipedia.org |
| net user | Displays user account information | net user |
| net localgroup | displays the hostname and the names of local groups on the computer | net localgroup |
| ping | Verifies IP-level connectivity | ping 8.8.8.8 |
| pathping | It shows stats regarding latency and packet loss | pathping commands.network |
| route print | Displays route details | route print |
| netstat -rn | Displays route details | netstat -rn |
| route delete | Delete a route | route delete 10.10.0.0 mask 255.255.0.0 |
| route add | Add a route to the routing table | route add 10.10.0.0 mask 255.255.255.0 10.10.0.1 |
| telnet | It opens a TCP connection to a host using TCP port UDP | telnet 10.10.10.10 |
| tracert | It traces the patch of a packet from the local host to its destination | tracert 10.10.10.10 |
| mstsc | Creates connections to terminal servers or other remote computers | mstsc /v:192.168.0.10 /w:1600 /h:1200 |