This is exactly what I needed.
Thanks!
-----Original Message-----
From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Tomasz Onyszko
Sent: Tuesday, November 29, 2005 6:21 PM
To: ActiveDir@xxxxxxxxxxxxxxxxxx
Subject: Re: [ActiveDir] GC list
Harding, Devon wrote:
> What's the easiest way to get a list of ALL my DC's and GC's in my
> forest along with IP address?
Quickest way will be to use nslookup:
nslookup -q=SRV _ldap._tcp.dc._msdcs.<domain> - for DCs
nslookup -q=SRV _ldap._tcp.gc._msdcs.<domain> - for GCs
--
Tomasz Onyszko
http://www.w2k.pl
List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/
-----------------------------------------
__________________________________
This message and any attachments are solely for the intended recipient
and may contain confidential or privileged information. If you are not
the intended recipient, any disclosure, copying, use or distribution of
the information included in the message and any attachments is
prohibited. If you have received this communication in error, please
notify us by reply e-mail and immediately and permanently delete this
message and any attachments. Thank You.
|