Finally I have an issue worthy of posting. I have a script that gathers info from a users computer. I was asked to add “domain controller user logged into” after researching I have found you can run a dos command on the users machine “Set Logonserver” will return this info. is there a way to capture this to a variable or is there a powershell equivalent WMI command or is this info captured in an event log file on the users machine? my script already contacts the users machine to pull info from the users registry.
I should have rephrased the title “authenticated to”