π 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. tasklisttaskkill /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
Post a Comment