?
Solved

Powershell/Powercli script to Join  ESXi hosts to a domain and add AD authentication

Posted on 2013-12-19
2
Medium Priority
?
1,767 Views
Last Modified: 2013-12-23
Hi,
we have multiple hosts connected with different domain. I need a powershell/powercli/shell script to change domain, DNS servers and Default Gateway for multiple esxi 5.0 hosts. also need to add AD permission to the hosts so that domain admin group can log in to the esxi host with individual accounts.

Thanks
Izhar
0
Comment
Question by:izharkhan
2 Comments
 
LVL 13

Accepted Solution

by:
lciprianionut earned 2000 total points
ID: 39731951
0
 

Author Comment

by:izharkhan
ID: 39736569
@ lciprianionut
Thanks that works.
0

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will be converting StringData saved within a text file into a hash table. This can be further used in a PowerShell script for replacing settings that are dynamic in nature from environment to environment.
The PowerShell Core 6.0 of .NET release is just the beginning. The upcoming PowerShell Core 6.1 would have artificial intelligence and internet of things capabilities. So many things to look forward to in the upcoming release.
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:
Suggested Courses

601 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question