Targeting a Host That is Managed by a
vCenter Server System
vCenter Server
SystemWhen you target a
host that is managed by a
vCenter Server
system, you can run commands in different ways.
- Specify the vCenter Single Sign-On service with the--pscoption and, if multiplevCenter Serversystems are associated with the vCenter Single Sign-On service, thevCenter Serversystem with the--serveroption. Specify also the host with the--vihostoption.
- Specify thevCenter Serversystem with the--serveroption and theESXihost with the--vihostoption.
- Specify only theESXihost with the--vihostoption.
When you can authenticate to a
vCenter Single Sign-On service or to a
vCenter Server
system, you can target all
ESXi
hosts that
vCenter Server
manages without additional authentication. See
Authenticating Through vCenter Server and vCenter Single Sign-On.