If you have a environment with a lot of Domain Controller’s are just want to know which one is the primary…
You can run the below command to find who’s the primary dc
nltest /dclist: danny.local
this command will list all DC’s in a environment and accent the Primary DC with [PDC] as you can see from the cmd line below.
nltest /dcname: danny
the below command will list only the primary domain controller for the domain you list after dcname:
