Windows has some good command line utilities for networking purposes. These Windows Networking commands are really helpful for network specialists as well as normal people. Let us have a look at some of these commands in this article.
In Windows Networking, Ipconfig can be used to display the network configurations assigned to all networks on your system. You can see the status of a network device as well.
Getmac can provide you with the mac address of all your network devices.
Netstat can be used to displays active TCP connections and the ports on which the computer is listening. You can see the Ethernet statistics, the IP routing table, IPv4 statistics (for the IP, ICMP, TCP, and UDP protocols), and IPv6 statistics (for the IPv6, ICMPv6, TCP over IPv6, and UDP over IPv6 protocols). If Used without parameters, netstat displays the currently active TCP connections.
Ping command can be used to test the connection between 2 devices. You can see I pinged google’s servers, you can also use the URL instead of the IP address. You will get the time needed to ping in milliseconds.
The route command in windows is very similar to route in Linux, it can be used to add/modify/delete routes from the routing table.
FTP is short for File Transfer Protocol. You can use this to connect to FTP servers and access files from there. You need to change the server address with your server.
Tracert is another useful command line utility that can give you the list of all nodes between the host and the remote server. You can see that I run a tracert to google and it gave me all the node routers and servers in between.
pathping is another cool utility that you can use. It is a mix of ping and tracert and you can trace and ping all nodes between you and the remote server.
Netsh is short for Network Shell. It can be used to configure almost any network on your device. There are a host of options available and you can see them by typing netsh /?.
These were some important commands that can be used for networking in windows. Most of these commands have a lot of options that can be seen by simply typing commandname -help.