Method 2 – Issuing commands by specifying a target server

The following are the steps required to issue commands by specifying a target server:

  1. Issue the command specifying the server name:
Example:
esxcli --server esxi65ga-1.vcloud.local iscsi adapter list
  1. Supply the username and password when prompted to obtain results, as shown in the following console output: