How to find Domain Controller on your network using Command line??
- Open the "Command Prompt"
- Type "net view /domain" (without quotes) into the Command Prompt window to view a list of all the domains on the network , and then press "Enter."
- Write down the name of the domain that you want to find the domain controller for.
- Type "nltest /dsgetdc:domainname" (without quotes) into the "Command Prompt" window, where "domainname" is the name of the domain you selected in step 3. Press "Enter."
- The name of the domain controller is given to the right of the label "DC:"