You can use the commands in the ESXCLI package to manage many aspects of an ESXi host. You can run ESXCLI commands remotely or in the ESXi Shell.
You can install the ESXCLI command set on a supported Linux or Windows system. See Getting Started with ESXCLI. After installation, you can run ESXCLI commands from the Linux or Windows system. You can manage ESXi hosts with ESXCLI commands by specifying connection options such as the target host, user, and password or a configuration file. See Connection Options for ESXCLI Host Management Commands.