Re: Multiple NICS and recording IP addresses



that only works for statis IP addresses; I need this to work for DHCP
addresses

I am trying to enumerate
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces
and pull it out of the subkeys but am having trouble.


"Martin CLAVREUIL" <martin-DROPTHIS-.clavreuil@xxxxxxxxxxxxxxxxxxxxxx> wrote
in message news:OTSxjPjNFHA.568@xxxxxxxxxxxxxxxxxxxxxxx
> here is the description of the wmi class where you can find adapters and
> ips associated :
>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/win32_networkadapterconfiguration.asp
>
>
> "David Doumani" <ddoumani@xxxxxxxxxxxxxx> a écrit dans le message de news:
> %23wLVT%23hNFHA.3728@xxxxxxxxxxxxxxxxxxxxxxx
>>I want to generate this same result as part of a overall VBSCRIPT but do
>>not want to reply on GREP; I have tried several routines but they all
>>stop at the first NIC; can someone give me a hint on how to get this for
>>all NICS as below without relying on grep?
>>
>> C:\Documents and Settings\DDoumani\My Documents\_Perot Systems\_Wolters
>> Kluwer\Documents\WK Scripts>ipconfig | grep -i "IP Add"
>> IP Address. . . . . . . . . . . . : 192.168.15.102
>> IP Address. . . . . . . . . . . . : 192.168.15.104
>> IP Address. . . . . . . . . . . . : 10.138.120.22
>>
>
>


.



Relevant Pages

  • Re: OT: Removal of old 14+ mail from mbox-based mail spool (not maildir)
    ... recursively pull each Spam folder in existance (for x in `ls ... Use grep and awk to pull each message and its relative data (grep the ... This would be easier if I could use IMAP, because then I could use the ...
    (freebsd-questions)
  • Re: Grep For Line Containing 1or 2 Words
    ... > Looking for help in writing a grep (or perl) that will pull from a text file ...
    (comp.os.linux.misc)
  • Re: DNS / nsswitch.conf - Problem on Solaris2.6/SPARC
    ... mentioned code gets executed if a tag is found in nsswitch.conf. ... $ grep '# Added by DHCP$' /etc/nsswitch.conf ... really come up empty on your system? ... have used it once in the past and the "Added by DHCP" was left by ...
    (comp.sys.sun.admin)
  • [opensuse] grep question
    ... Can I use grep to pull all the address out? ... WartHog Bulletin ... Anti-US Propaganda stamp collection ...
    (SuSE)
  • php grep
    ... i am looking for a way to grep through a LARGE text file quickly and ... i need to pull out just one line of the file. ... the most efficient method so far to be: ... Prev by Date: ...
    (alt.php)