To find all DCs in forest
dsquery server -forest -o rdn
that wouldnt work
if you have biztalk msmq services (sadly i do)... so
its faster via
netdom if its all dc within the domain only
netdom query
dc
Thank you and have a splendid day!
Kind Regards,
Freddy Hartono
Group Support
Engineer
InternationalSOS Pte Ltd
mail: [EMAIL PROTECTED]
phone: (+65)
6330-9785
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kamlesh Parmar
Sent: Wednesday, November 30, 2005 9:40 PM
To: ActiveDir@mail.activedir.org
Subject: Re: [ActiveDir] GC list
I am a fan of DS* commands...so
To find all DCs in forest
dsquery server -forest -o rdn
To find all GC in forest
dsquery server -forest -isgc -o rdn
--
Kamlesh
On 11/30/05, Tomasz
Onyszko <[EMAIL PROTECTED]>
wrote:
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/
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~
"Fortune and Love befriend the bold"
~~~~~~~~~~~~~~~~~~~~~~~~~~~