Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is it possbible for IPCONFIG on Vista to display the status of one adaptor only. I have so many adaptors that the one I want has scrolled off the top.

Alternatively, is there another program that could display the status of a specfic adaptor (IP address etc)

share|improve this question
    
'ipconfig | more' not an answer to your question, but a solution –  Joakim Elofsson Aug 8 '09 at 22:57
    
btw use 'space' to show more –  Joakim Elofsson Aug 8 '09 at 23:04
    
Yes - 'ipconfig | more' is a reasonable workround. I would prefer if IPCONFIG could be selective but there one is.... If this was an answer I would accept it –  justintime Aug 9 '09 at 18:21

6 Answers 6

up vote 14 down vote accepted

It's not as short as ipconfig, but you can use netsh to do this:

> netsh interface ip show addresses "Local Area Connection"

Configuration for interface "Local Area Connection"
    DHCP enabled:                         Yes
    IP Address:                           10.34.46.91
    Subnet Prefix:                        10.34.46.0/24 (mask 255.255.255.0)
    Default Gateway:                      10.34.46.254
    Gateway Metric:                       0
    Default Gateway:                      10.10.124.14
    Gateway Metric:                       0
    Default Gateway:                      139.30.107.176
    Gateway Metric:                       0
    InterfaceMetric:                      4245

Replace "ip" in the command by "ipv6" to get IPv6 information.

Put it into a batch for less typing :-)

share|improve this answer
    
Discovered the grep-like | findstr "<string>" for those parsing the output (in my case, looking for subnet information). –  msanford Jun 2 at 18:01

Just a side note, you can use command redirection to output the results to a file so that you can pull it up in notepad and see what has scrolled off. You could combine this with a batch file that runs the command, then opens the resulting file in notepad automatically. Sorry, I know that's not exactly what you want but thought I'd throw that out there.

http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/redirection.mspx?mfr=true

share|improve this answer

You can also view that information in the Network and Sharing Center.

From the Network and Sharing Center, click "Manage network Adapters" or similar - this will show the network connections folder. If you double click on a connection, you'll see the same output as ipconfig in a gui.

share|improve this answer

From your question it sounds like you're not aware that you can change the Screen Buffer Size for the command window in Windows? This gives you a scroll bar at the side of the window that you can use to scroll back up to view info that's scrolled off the top of the window.

On the console window click the icon at the left of the title bar (or just right-click the title bar) select Defaults, click the Layout tab, change the Screen Buffer Size Height to something quite a few times larger than the Window Size Height (mine are currently 25 lines height for the window, but 300 lines for the screen buffer height).

Can't remember if this was on by default for Vista or not, but for XP and prior you definitely had to go in and manually change it to something sensible yourself.

The other very useful option that I always change on a new install are switching on QuickEdit Mode on the first tab. This lets you select text in the command window with the mouse, then just hit Enter to send it to the clipboard, and just right click on the console window to paste (obviously don't switch this on if you use any console apps that use the mouse).

share|improve this answer
    
Doesn't it already default to 80x300? (Unless the poster still uses command.com...) –  grawity Aug 9 '09 at 7:55
    
Thanks for tip - I am aware that you can change the the buffer size, but would prefer not to have to scroll back. –  justintime Aug 9 '09 at 18:18

netsh interface ip show addresses "Local Area Connection"

just a sidenote: This doesn't reflect the current state.

When I tried this solution to check the dhcp address, it wouldn't update the status until ipconfig was issued.

share|improve this answer

I installed Gnu Grep for windows and then modified my path so I could run grep from anywhere

Then I made a batch file that contains

ipconfig | grep -A5 -i "Ethernet Adapter Local Area Connection:"

I have a TON of adapters so ipconfig by itself was a pain.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.