Sep 242008
If you want to know How to Determine Which Domain Controller you logged in
open a command prompt and type the following command
set logonserver
echo %logonserver% has the same functionality. This is an environment variable so you could use it from a script if you wanted to.
Sample Output
Incoming search terms:
- how to check which domain controller you are connected to (125)
- command to check domain controller logged into (87)
- command to see what domain controller you are connected to (82)
- which domain controller (77)
- command to see which domain controller you are connected to (57)
- how to determine which domain controller you are connected to (42)
- how to see what domain controller you are logged into (34)
- command to see what dc you are connected to (34)
- how to check what domain controller you are connected to (31)
- check which domain controller you are connected to (26)

excellent… thanks for tht