in reply to Get Domain Controller

I have an ENV var called LOGONSERVER which appears to be the name of the domain controller.

>print -le "print $ENV{'LOGONSERVER'}" \\WEIDC21