RvdNieuwendijk thanks for the reply, the cmd ran without error but when i try to login individual esxi with vspeher client as well as ssh it did not worked.
Also i checked the esxi with root login the group is not seen in permissions tab, so looks like i did not explain the questions well, I think you got the idea now.
i see a note on internet ,,,
$HostPW ="yxz"
$DomainAdmin ="DomainAdmin"
$DomainPW ="yxz"
$ADGroup ="domain\DomainGroup"
$Domain ="domain.local"
Add-PSSnapinVMware.VimAutomation.Core
Connect-VIServer$VMHost–User root–Password$HostPW
Get-VMHostAuthentication-VMHost$VMHost|Set-VMHostAuthentication-Domain$Domain-Username$DomainAdmin-Password$DomainPW-JoinDomain-Confirm:$false
Get-VMHost$VMHost|New-VIPermission-Principal$ADGroup-Role"Admin"
Disconnect-VIServer$VMHost-Confirm:$false
==
but the above did not worked for me..
I think this can be done only by directly login to each esxi , "Connect-VIServer$VMHost–User root–Password$HostPW" & then add the AD group with Admin access ...
FYI i am able to add the stuff manually & all nodes are connected to AD already