A frequent question is how do I know what domain controller logged me in? To find this out, open a command prompt and type "set logonserver".
echo %logonserver% has the same functionality. Incidentally, this is an environment variable so you could use it from a script if you wanted to.
Looking for more useful Active Directory tips and tricks? Check out my book, Active Directory: Designing, Deploying, and Running Active Directory.