Hi all,
I've googled this a bit couldn't find what I specifically need.
I want to run a script on every Macbook to see if each Macbook has been AD joined to the correct AD server.
Via GUI, I'm referring to System Preferences > Users & Groups > Login Options > Network Account Server.
I found something called dsconfigldap , but when checking it's available function, it is only for adding or removing from server. It doesn't have an option to check for its status of its value (what it's point to)
Anyone got ideas?
Thanks in advance.