Cmd – Find my DC

I often have to find a domain controller when working with a customer, and I never remember the cmdlet for finding the DC which the server or client uses for authorizing.

echo %LOGONSERVER%


Leave a Reply

Ehlo!

I am Roy Apalnes, a Microsoft Cloud Evangelist working av Sopra Steria. Main focus in Microsoft Security and Endpoint Management, with a bigger picture in mind.

Featured Posts