Get domain controllers from the command line using nltest By Techno Scavenger April 05, 2015 c:\> nltest /dclist:myad.test.local This will return list of domain controllers for myad.test.local domain. Read more
Get PDC domain controller name using nltest By Techno Scavenger April 05, 2015 c:\> nltest /dcname:myad Note using myad(NetBios) instead of FQDN. Read more
Get domain roles from the command line By Techno Scavenger April 05, 2015 c:\> netdom query /domain:myad.test.local fsmo This can be used to get the PDC (Primary Domain Controller) emulator on AD environments. Links: http://serverfault.com/questions/174745/what-is-reliable-way-of-getting-name-of-primary-domain-controller Read more