Where is the Active Directory Computer ID stored when you bind the computer to active directory?
I want to use something similar to /usr/sbin/scutil --get ComputerName | /usr/sbin/scutil --set HostName $1
to set the computername, localhostname and host name as the active directory computer id.
I'm aware of the below commands but none of those match the active directory id
scutil --get ComputerName
scutil --get LocalHostName
scutil --get HostName
I want to use something similar to /usr/sbin/scutil --get ComputerName | /usr/sbin/scutil --set HostName $1
to set the computername, localhostname and host name as the active directory computer id.
I'm aware of the below commands but none of those match the active directory id
scutil --get ComputerName
scutil --get LocalHostName
scutil --get HostName