🌐 Ultimate Guide to Windows Networking CMD Commands (With Icons & Uses)

 

Networking is at the heart of every computer system, and Windows CMD (Command Prompt) offers a powerful suite of networking tools. Whether you're a techie, student, or a system admin, these commands are essential for troubleshooting and configuring your network.


πŸ”’ 1. ipconfig

Displays IP address and network configuration.

eg. ipconfig

πŸ” Use Case: Check your IP address, default gateway, and fix network issues.


🌐 2. ping

Sends test packets to a destination to check connectivity.

 eg. ping google.com

πŸ”Œ Use Case: Test if a device or website is reachable.


πŸŒͺ️ 3. tracert

Traces the route taken by packets to a destination.

eg. tracert google.com

πŸ” Use Case: Identify where delays occur in the network path.


πŸ›️ 4. nslookup

Queries DNS records to resolve domain names.

eg. nslookup google.com

πŸͺ§ Use Case: Troubleshoot domain resolution problems.


πŸ“ˆ 5. netstat

Displays active network connections and ports.

eg. netstat -an

πŸ§ͺ Use Case: Monitor open ports and detect unauthorized access.


πŸͺ₯ 6. arp

Displays ARP cache and resolves IP to MAC addresses.

eg. arp -a

πŸͺ§ Use Case: Diagnose MAC address conflicts.


🚢‍♂️ 7. route

Displays and modifies the routing table.

eg. route print

πŸ”Ž Use Case: Debug routing issues or set static routes.


πŸ› ️ 8. netsh

Advanced network configuration tool.

eg. netsh wlan show profiles

πŸ”§ Use Case: Manage Wi-Fi settings, IPs, and firewall.


πŸ“ƒ 9. hostname

Displays the system's hostname.

eg. hostname

πŸ“° Use Case: Identify the machine in a networked environment.


πŸ‘₯ 10. getmac

Displays the MAC addresses of network interfaces.

eg. getmac

πŸͺ§ Use Case: Get device MAC addresses for filtering.


🌐 11. nbtstat

Displays NetBIOS over TCP/IP information.

eg. nbtstat -n

πŸšͺ Use Case: Troubleshoot name resolution in local networks.


πŸš„ 12. telnet

Connects to remote hosts on specified ports.

eg. telnet hostname port

🀝 Use Case: Check if ports are open or test remote services.


πŸ“Š 13. pathping

Combines ping and tracert with detailed stats.

eg. pathping google.com

πŸ”Ž Use Case: Find where packet loss is occurring.


🌐 14. net use

Connects/disconnects to shared resources.

eg. net use Z: \\server\share

πŸ“¦ Use Case: Map network drives or access shared folders.


πŸ“² 15. net view

Displays shared resources on network computers.

eg. net view

🀸 Use Case: See available shared folders or printers.


πŸ’Ό 16. net user

Displays or manages local user accounts.

eg. net user

πŸš€ Use Case: Manage accounts for access control.


πŸ“‹ 17. tasklist / taskkill

Lists or ends running processes.

eg. tasklist
taskkill /IM chrome.exe /F

πŸ’‘ Use Case: End apps hogging bandwidth.


πŸ‘€ 18. whoami

Displays current logged-in user.

eg. whoami

πŸ‘¨‍πŸ’Ό Use Case: Check login context, especially on domains.


πŸ“„ 19. net config

Displays network config of workstation/server.

eg.  net config workstation

πŸ“‘ Use Case: View system role and network details.


⚙️ 20. sc query

Displays the status of network-related services.

eg. sc query

πŸšͺ Use Case: Check if DNS/DHCP services are running.


➕ Advanced and Bonus Commands

🌐 21. net time - Syncs time with server

🀜 22. net group / net localgroup - Manages user groups

πŸ”§ 23. netsh advfirewall - Configures firewall

πŸ›️ 24. netdom - Manages domains (RSAT only)

πŸ’‘ 25. wmic nic - Shows NIC info

πŸ“ƒ 26. netsh wlan export profile - Export Wi-Fi profiles

πŸš€ 27. netsh interface ipv4 - Manual IP config

⏰ 28. powercfg -devicequery wake_armed - Devices waking system

⏲️ 29. taskschd.msc - Opens Task Scheduler


πŸ“† Wrap Up:

With these commands, you're equipped to troubleshoot, monitor, and control network settings like a pro. Save this as a cheat sheet or share it with your fellow techies!

Would you like this as a downloadable infographic or PDF? Let me know in the comment section. also feel free to share with your peers

Comments

Popular posts from this blog

Best Cybersecurity TV Series, Documentaries, and Web Shows

The Easiest Roadmap to a Cybersecurity & Ethical Hacking Career

Key Takeaways from Yesterday’s Session