is there any way to find which servers in the networks is domain controller?

We have 2 Server acting as domain controller . one is 2003 and other is 2008

but I think there is another one but not sure..

is there any way to find out how many domain controller we have by using any commands or by looking at Active directory or some how rather then go and check every server??

LVL 29
Who is Participating?
Neil RussellTechnical Development LeadCommented:
Or of course if you are a single forest, single domain. Open ADUC and look in the Domain Controllers OU
Neil RussellTechnical Development LeadCommented:
In Powershell..

$Forest = [System.DirectoryServices.ActiveDirectory.Forest]::GetCurrentForest()
$forest.Sites | % { $_.Servers } | Select Name, Domain  | out-file domainControllers.txt
Neil RussellTechnical Development LeadCommented:
Container* (Its technically a container not an OU before anyone points this out :P )
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.