๐ŸŒ 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

Cybersecurity Roadmap: Your Journey Starts Now