How find out which domain controller is computer connected

echo %LOGONSERVER%

Advertisements