VMware Cloud Community
TheVMinator
Expert
Expert

Join hosts to active directory using PowerCLI

How can I join a group of hosts to Active Directory using PowerCLI?

Thanks

0 Kudos
2 Replies
LucD
Leadership
Leadership

Something like this

Get-VMHost |

Get-VMHostAuthentication |

Set-VMHostAuthentication -JoinDomain -Domain MyDomain -User MyUser -Password MyPswd


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

TheVMinator
Expert
Expert

Ok great thanks

0 Kudos