The enhancement with vSphere 6.x , Likewise utility called domainjoin-cli which allows you to join a system to an Active Directory Domain. Previously, if you wanted to automate the process of joining an ESXi host to an Active Directory Domain, you had to either manually configure it using the vSphere Web/Client .
Below are the steps need to perform .
For Joining to your Active Directory Domain, you have to specify the following parameters:
Here is an example of what the command looks like joining my Active Directory Domain in my lab:
/usr/lib/vmware/likewise/bin/domainjoin-cli join vmarena.com administrator
You can verify that your ESXi is Joined to of Domain or not by using below steps .
Below image shows the ESXi is not part of Domain , After Joining to active directory using steps mentioned in the First you may run this again to verify status .