Get Windows Interfaces via Commandline

Description

Runs ipconfig to show the local network interfaces.

Overview

Uses the ipconfig command to show the local network interfaces configuration.

Dependencies

  • None

Operating Systems

  • Windows

Example Output

Windows IP Configuration

   Host Name . . . . . . . . . . . . : DESKTOP-LMCH70V
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : localdomain
                                       home.arpa

Ethernet adapter Ethernet0:

   Connection-specific DNS Suffix  . : localdomain
   Description . . . . . . . . . . . : Intel(R) 82574L Gigabit Network Connection
   Physical Address. . . . . . . . . : 00-0C-29-76-5E-EE
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::e291:3de2:b903:b8ac%10(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.132.135(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : Tuesday, January 23, 2024 6:28:38 PM
   Lease Expires . . . . . . . . . . : Thursday, January 25, 2024 10:26:28 AM
   Default Gateway . . . . . . . . . : 192.168.132.2
   DHCP Server . . . . . . . . . . . : 192.168.132.254
   DHCPv6 IAID . . . . . . . . . . . : 100666409
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-29-60-61-B0-00-0C-29-76-5E-EE
   DNS Servers . . . . . . . . . . . : 192.168.132.2
   Primary WINS Server . . . . . . . : 192.168.132.2
   NetBIOS over Tcpip. . . . . . . . : Enabled
Scroll to Top