When you target a host that is managed by a vCenter Server system, you can run commands in different ways.
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.