JSI Tip 9852. Microsoft graphical Wntipcfg.exe freeware also has a batch mode.


Download the Microsoft WntIpcfg_setup.exe and install it.

In addition to the GUI, you can use it from the command-line or from a batch:

wntipcfg /ALL /BATCH C:\Folder\Wntipcfg.txt

Sample batch output (from a non-member laptop on my test network):

Windows NT IP Configuration

	Host Name . . . . . . . . . : JSI003.jsiinc.com
	DNS Servers . . . . . . . . : 192.168.0.1
	Node Type . . . . . . . . . : Hybrid
	NetBIOS Scope ID. . . . . . : 
	IP Routing Enabled. . . . . : No
	WINS Proxy Enabled. . . . . : No
	NetBIOS Resolution Uses DNS : No

Ethernet adapter \{A4691B5E-C200-42A4-8D34-DA92A18706B5\}:

	Description . . . . . . . . : Broadcom 570x Gigabit Integrated Controller
	Physical Address. . . . . . : 00-0D-56-6D-19-FC
	DHCP Enabled. . . . . . . . : Yes
	IP Address. . . . . . . . . : 192.168.0.100
	Subnet Mask . . . . . . . . : 255.255.255.0
	Default Gateway . . . . . . : 192.168.0.1
	DHCP Server . . . . . . . . : 192.168.0.1
	Primary WINS Server . . . . : 
	Secondary WINS Server . . . : 
	Lease Obtained. . . . . . . : Thu, Oct 20 2005 10:37:26
	Lease Expires . . . . . . . : Fri, Oct 28 2005 10:37:26



Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish