How to Determine Which Domain Controller a Client Authenticated Against

When troubleshooting logon issues such as inconsistent GPO results, it may help to determine which domain controller in the environment the client computer authenticated against.

An easy way to make this determination:

From a Command Prompt,
type: echo % LOGONSERVER%
press enter