Command to find which active directory OU server is joined to
説明
Is there a command that I can run on a an Authentication Services client that will report which Active Directory OU the client is joined to? I am looking for a command that will query Active Directory and not just look at the /etc/opt/quest/vas/lastjoin file as that may not be 100% accurate.
対策
The following command will give you the current location of the computer object for the joined system: