Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 293210

Re: How can I specify an OU when Joining ESXi to Domain via PowerCLI?

$
0
0

So I tries the Onyx thing this morning. It gave me a JoinDomain_Task that will allow me to specify OU.

 

Luc can you help me incorperate this code into the other script I have so I can run this against all of my hosts? Thanks.

 

 

# ------- JoinDomain_Task -------

$_this = Get-View -Id 'HostActiveDirectoryAuthentication-ha-ad-auth'
$_this.JoinDomain_Task("prod.cyberintegration.net/cis/computers/esxi", "myusername", "mypassword")

Viewing all articles
Browse latest Browse all 293210

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>