Windows 10 - Useful Commands for Network Troubleshooting
Since we live and work in a constantly connected world, the consistency and efficiency of your network link is critical to almost all you do on your computer or mobile device. Maintaining a good network link and troubleshooting a bad connection are fundamental skills that everyone should have at least a clear understanding of.
There are a few simple network commands that Microsoft Windows 10 users should learn and be prepared to use when the need arises. Although some of these commands have GUI equivalents in Windows 10, the command line structure is more effective and powerful in many cases.
Using the Windows Key + R keyboard combination to open the Run dialog box in Windows 10 is the fastest way to get to the command prompt. To open the command prompt, type "cmd" and press Enter.
Ping
Ping is perhaps the most well-known and often used of all the network commands in Windows 10. You may use the Ping command to see if a computer is reachable on a network. Pinging a host can return four data packets; if the data packets aren't returned, your network link isn't working.
To run the command - Type: ping [host]
The name or IP address of a typical host server is [host] (google.com etc).
IPConfig
One of the most useful simple Windows network commands that everybody can know and use to troubleshoot problems is the IPConfig command. The IPConfig command shows you the basic IP address configuration details for the Windows system you're using. In reality, the command will show details for any network adapter mounted on your Windows 10 device.
To run the command, Type: ipconfig
IP addresses for both IPv4 and IPv6, as well as the Default Gateway and Subnet Mask, are included in the general details. When the /all parameter is added to the command, it displays DNS Server information as well as details about IP Address leases.
Getmac
Every network-capable device on the internet has a MAC address, which is a unique identifier. The number is allocated during the manufacturing process and is stored in the device's hardware. A user can decide the MAC address of their various network devices using the Getmac command. Some network administrators can use system MAC addresses to control what can and cannot link to a network.
To run the command, Type: getmac
HostName
The HostName network command in Windows 10 simply displays the current name of your computer.
This is the name by which your machine communicates with the other computers and servers on your local network. This name can also be found in the GUI's System information screen, but this command is faster.
To run the command, Type: hostname
NSLookUp
The NSLookUp network command in Windows 10 shows information that can be used to diagnose DNS infrastructure. NSLookUp without a parameter displays the DNS server that your computer is actually using to resolve domain names to IP addresses.
To run the command, Type: nslookup
Tracert
This is an extremely useful command. This command will show information on each hop along a data packet's journey to its destination. The latency between your computer and each hop of the path, as well as the hop's IP address, will be shown for each hop.
To run the command, Type: tracert [host]
Netstat
Active TCP connections, ports on which the device is listening, Ethernet statistics, the IP routing table, IPv4 statistics, and IPv6 statistics are all shown by the Netstat command.
This command shows active TCP connections when run without any parameters. The details provided by this command can be helpful in identifying problems with your network connections.
To run the command, Rype: netstat
PathPing
PathPing is a network command in Windows 10 that combines the ping and tracert commands to provide information about network latency and network failure at intermediate hops between a source and destination.
The PathPing command contains more information than ping or tracert, explained above, such as latency reports and packet loss statistics.
To run the command, Type: pathping [host]
Hopefully the above will help you to troubleshoot networking problems with Windows 10 Operating System.

Comments
Post a Comment