Network configuration and diagnostics Windows CMD commands
1. ipconfig
Displays all current TCP/IP network configuration values and refreshes Dynamic Host Configuration Protocol
(DHCP) and Domain Name System (DNS) settings.
2. ping
Tests the ability to reach a specific network device.
3. tracert
Traces the path that a packet takes to reach a network host, helping identify where problems are occurring
in the network.
4. netstat
Displays active connections, ports, Ethernet statistics, and the IP routing table.
5. nslookup
Queries the DNS to obtain domain name or IP address mapping.
6. netsh
Allows configuration of almost any aspect of network settings, lets you view and configure pretty much
every network adapter on your system in more.
7. arp -a
Displays current ARP entries by interrogating the current protocol data. It shows the IP address and
matching MAC address.
8. hostname
Shows the computer’s network name, aiding in network identification and troubleshooting.
9. pathping
Combines the features of ping and tracert, providing more detailed information about network routes and
latency.
10. getmac
Displays the MAC address of the network card.
11. nbtstat
Helps diagnose NetBIOS over TCP/IP connections and display protocol statistics.
12. Route
The route command displays and modifies the IP routing table. It helps in adding or removing routes and
viewing the current routing table.
13. Gpupdate
The gpupdate command refreshes Group Policy settings.
14. Systeminfo
The systeminfo command displays detailed configuration information about a computer and its operating
system.