I am looking for a way to determine what the Name/IP Address of the domain controller is for a given domain that a client computer is connected to.
At our company we hav
From command line query the logonserver env variable.
C:> SET L
LOGONSERVER='\'\DCNAME