That is a great tip, I'll check it out.
What I ended up doing (I'm not totally done yet) is with a VB script I
found that I could plug in to Excel and do the nslookup from Excel.
It's not pretty (especially when recalculating 500 nslookups), but it
gets the job done.
Here's the VB code
http://www.excelforum.com/showthread...hreadid=471818
It's also posted on microsoft.public.excel.programming
Then, just so I could keep manipulating the data, I found a formula to
convert the IP address into decimal, and I use that value to sort by ip
address.
http://www.mvps.org/dmcritchie/excel/sorttcp.htm#tcpn
There's tons of macros and vb scripts to sort and IP address list, but
they can only deal with a single column, and I have several columns
listing Hostname, OS, Service Pack, CPU, Memory, etc, etc, and I need
to keep all columns together.
In any case, I'll look into NMap, looks interesting
Thanks a lot,
Vince
Herb Martin wrote:
> Free NMap is a good tool, especially if you don't know all of the names.
>
> Perl can be used to trivially write a program in a few lines to do this
> (if you can program at all, or have a programmer.)
>
> As can just using the built-in tools like NSLookup or even Ping to get
> the info.
>
> For instance a rough approximation to your request would be:
>
> for /f %a in (names.txt) do ping %a | findstr "Pinging" >>addresses.txt
>
>
> For the above to work, you would need the names in "names.txt" (one per
> line) and you would want to start with no "addresses.txt" file (or an
> empty one.)
>
> More advanced versions would strip off the extraneous words and
> characters but that is also trivial to do with a text editor and
> search and replace.
>
> WARNING: If you make a "batch file" out of the above snippet (rather
> than using it directly on the command line manually) then you must
> DOUBLE each %-sign in %a (i.e., %%a) -- It's an oddity of batch files
> on DOS/Windows.
>
> --
> Herb