So if you’ve read some of my previous posts, you probably figured out that I’ve built a fair few environments from scratch and hate having to rinse and repeat manually. For my last infrastructure project I have some various scripts and tools to sort that out!
The following link lets you add ESXi Hosts to vCenter via PowerCLI, by Hostname range, IP Range, or text file/CSV. I used textfile and name using this method and it worked perfectly.
This ties in with DNS entry creation as well as it means you can quickly and easily add all your hosts and create the DNS entries for them as well.