I am looking for a way to determine what the Name/IP Address of the domain controller is for a given domain that a client computer is connected to.
At our company we hav
in Powershell: $env:logonserver
$env:logonserver