What DC am I connected to? Posted by alambert on October 1, 2018 Posted in: Active Directory, Command Line, Windows. Tagged: active directory, ad, Domain Controller, Domain Controllers. Leave a Comment echo %logonserver% Posts navigation ← Enable modern authentication in Exchange Online Delete the contents of a mailbox but keep the mailbox – Exchange 2010 →