Tag Archive: add-vmhost

Add Multiple ESXi Hosts To vCenter Server Using PowerCLi

A few days back I created a vSphere cluster with 32 ESXi hosts and I really didn’t want to add all these hosts using the UI so I decided to put together a short powercli script to manage this. The script that was tested using the following software versions: VMware vCenter Server 6.5 VMware ESXi 6.5 build 5146846 …

Continue reading »

Change ESXi license using PowerCLI

A few days ago a new customer asked me to review the PowerCLI script used for the initial ESXi host configuration. The ESXi hosts are factory installed and the most recent batch of ESXi hosts were all configured with the “VMware vSphere Hypervisor 5 License” license. This means the initial ESXi host automatic PowerCLI configuration …

Continue reading »