Part 3: Add VMware ESXi 6.0 Host To vCenter Using PowerShell

Continuing with my VMware PowerCLI blogging, Today I’ll show you how I add a new ESXi 6.0 host to my vCenter Server using PowerCLI.

To get this to work, follow Part 1 & 2 articles which will show you how to Install PowerCLI and Connect to vCenter.

To add an ESXi Host to vCenter run the cmdlet below:

Add-Vmhost hostname - location DataCenter -user root -password password -force

Wait for the host to be added

Once done, You will see the host details

To view all host type: