Quick ipconfig

Опубликовано: 03 Август 2026
на канале: Quick PLC
872
22

Create a batch file to show the status of just your laptop's Ethernet port without all the clutter of the other network and Bluetooth connections.

This trick is useful for anyone working with network connections where DHCP is not available to automatically assign an IP address to the laptop. Normally the IP address is set through Windows but the command line utility "ipconfig" is an easy way to check the status. The problem is that it shows all the connections and it can be a nuisance to find the relevant Ethernet adaptor in the list of information returned.

This video shows how to create a one-line batch file to use Network Shell, netsh, to list the configuration for just one port.

netsh interface ipv4 show addresses "Ethernet 2"