Question: how to get domain controller name using cmd?
Answer: Click Start, and then click Run.
In the Open box, type cmd.
Type nslookup, and then press ENTER.
Type set type=all, and then press ENTER.
Type _ldap. _tcp. dc. _msdcs.