Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NSLOOKUP 1

Status
Not open for further replies.

dtorres

MIS
Sep 25, 2002
177
US
I have a list of computers in AD that I need to get their IP Addresses so I know what subnet they belong to. I figure nslookup would work best, but I do not want to manually plug in each computer name to run the command.

Does anyone know of a utility or macro I can run to get the ip address of the 189 computers? I was able to export the list into Excel, but now I need the ip addresses of these machines.

Thank You
 
Right click the zone in DNS and Export list. Then you can import it into Excel or Access and do whatever you need to with it.
 
I did that to the "computer" OU and now I need to run NSLOOKUP on that list that I have imported in Excel. I don't want to have to input each computer name into a NSLOOKUP command, so if there is an easy way to automate this that would be excellent. I have around 198 computers I need get IP addresses from.

Thanks
 
Go into the DNS MMC snap in, right click the forward lookup zone for the domain you are working with, click Export List, and it will come out with a text doc that has computer name and IP address.
 
dtorres

Are you using static IP Addresses or Dynamic?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top