I'm new to this, so I'm having a hard time with it. I need to have a VB
script read from a text file of IP addresses, and return their name (through
nslookup or other) and put it in another file. How do I do the iterations
and get nslookup in a VB script?

Any help would be appreciated.
Thank you,

KB

Re: Reverse nslookup from file by Kelli

Kelli
Fri Sep 10 09:29:35 CDT 2004

Also...I need it to only return the IP and the name it resolved to....not
the other stuff that comes with nslookup.


"Kelli B" <burkenkellik@johndeere.com> wrote in message
news:4141b9e3$1@news1.dpn.deere.com...
> I'm new to this, so I'm having a hard time with it. I need to have a VB
> script read from a text file of IP addresses, and return their name
(through
> nslookup or other) and put it in another file. How do I do the iterations
> and get nslookup in a VB script?
>
> Any help would be appreciated.
> Thank you,
>
> KB
>
>



Re: Reverse nslookup from file by Torgeir

Torgeir
Fri Sep 10 13:16:23 CDT 2004

Kelli B wrote:

> I'm new to this, so I'm having a hard time with it. I need to have a VB
> script read from a text file of IP addresses, and return their name (through
> nslookup or other) and put it in another file. How do I do the iterations
> and get nslookup in a VB script?
>
> Any help would be appreciated.
Hi

In the post in the link below there is a VBScript function NSlookup
that can obtain the computer name from an IP address.

http://groups.google.com/groups?selm=3FA0E438.7CCCD005%40hydro.com


--
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scriptcenter/default.mspx

Re: Reverse nslookup from file by Kelli

Kelli
Fri Sep 10 13:45:17 CDT 2004

How would I modify that to read from a file, and output the results to a
file?

Thank you,

KB
"Torgeir Bakken (MVP)" <Torgeir.Bakken-spam@hydro.com> wrote in message
news:%23D$VwJ2lEHA.3496@TK2MSFTNGP12.phx.gbl...
> Kelli B wrote:
>
> > I'm new to this, so I'm having a hard time with it. I need to have a VB
> > script read from a text file of IP addresses, and return their name
(through
> > nslookup or other) and put it in another file. How do I do the
iterations
> > and get nslookup in a VB script?
> >
> > Any help would be appreciated.
> Hi
>
> In the post in the link below there is a VBScript function NSlookup
> that can obtain the computer name from an IP address.
>
> http://groups.google.com/groups?selm=3FA0E438.7CCCD005%40hydro.com
>
>
> --
> torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
> Administration scripting examples and an ONLINE version of
> the 1328 page Scripting Guide:
> http://www.microsoft.com/technet/scriptcenter/default.mspx