Hi Guys,
(Get-WmiObject-Classwin32_ntdomain-Filter"DomainName = 'domain'"-ComputerNamemade_up_workstation_name).DomainControllerName
When I run the above on my workstation it gives the same value as theset variable Logonserver
When I run it on my colleagues workstation it gives a Valid DC but not the one that shows in its set variable Logonserver
I get the same results wether I run on or remotely on both workstations
Any ideas ?