How can I tell which Domain controller I'm authenticated to?

Command prompt and PowerShell Forum
Post Reply
User avatar
hepek
Site Admin
Posts: 451
Joined: 24 Oct 2018, 00:03
Location: @HEPEK HQ
Contact:

How can I tell which Domain controller I'm authenticated to?

Post by hepek »

Q:
How can I tell which Domain controller I'm authenticated to? Is there a way to do this without local admin?

A:
Open Command Prompt and run following command:
echo %LOGONSERVER%
Post Reply

Return to “PowerShell”