Add a Standalone Host to a vCenter Server System

You can add standalone hosts to a vCenter Server system by using the Add-VMHost cmdlet. After adding the hosts, you will be able to manage them through the vCenter Server system.

Prerequisites

Verify that you are connected to a vCenter Server system.

Procedure

  1. View all hosts on the vCenter Server system that you have established a connection with.
    Get-VMHost
  2. Add the Host standalone host.
    Add-VMHost -Name Host -Location (Get-Datacenter DC) -User root -Password pass