I'm writing a script that that requires to know what office they are in without hardcoding ip etc.
Anyone know how to get the logon server? I've seen alot of ways that no longer work. The current working method I have is running: netstat | grep 63657
then pulling the data i want. Is there a cleaner method?