Batch Script - IPCONFIG
Advertisements
This batch command displays Windows IP Configuration. Shows configuration by connection and the name of that connection.
Syntax
ipconfig
Example
@echo off ipconfig
Output
The above command will display the Windows IP configuration on the current machine. Following is an example of the output.
Windows IP Configuration Wireless LAN adapter Local Area Connection* 11: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Ethernet adapter Ethernet: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Wireless LAN adapter Wi-Fi: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Tunnel adapter Teredo Tunneling Pseudo-Interface: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . :
batch_script_commands.htm
Advertisements