You can run host management commands such as ESXCLI commands, vicfg- commands, and other commands with several different connection options.
You can target hosts directly or target a vCenter Server system and specify the host you want to manage. If you are targeting a vCenter Server system, specify the Platform Services Controller, which includes the vCenter Single Sign-On service, for best security.
See the Getting Started with vSphere Command-Line Interfaces documentation for a complete list and examples.