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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scripting to get AD info 1

Status
Not open for further replies.

DSPG

MIS
May 2, 2008
9
0
0
US
Ok, this may not be the right group to put this in, but there are so many :)

Management want's a report of all IP Addressed in use and which computers are using them. So, I'd like to extract DNS information (IP Address and host name) from our Windows 2003 AD integrated DNS servers. Can this be done or will I have to manually go through the GUI one by one to get it?

DSPG
 
dnscmd /zoneexport <zone_name> <export_file>.txt

Example:
dnscmd /zoneexport contoso.local c:\export.txt

I hate all Uppercase... I don't want my groups to seem angry at me all the time! =)
- ColdFlame (vbscript forum)
 
Thanks for the help. I had looked at the Windows command-line commands and didn't see that one. DNSCMD is part of the Windows Support Tools and not listed in the command line reference. It did exactly what I needed.

Thanks :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top