VMware vSphere

 View Only
  • 1.  ESXCLI error no such options

    Posted Oct 18, 2022 01:21 AM

    Hi,

    I am trying to run this following command on one of my host from putty

    esxcli --server [ESXi-SERVER] --username [USER] software vib list

    but I keep getting this below error?

    esxcli: error: no such option: --server

    can someone point out what am I doing wrong?



  • 2.  RE: ESXCLI error no such options

    Posted Oct 18, 2022 04:24 AM

    If youre already login into ESXi you can call esxcli directly and it always talks to "localhost" and i never saw that esxcli have remote capabilities. If you execute "esxcli" without a argument you automaticly get a list of all namespaces and such parameter with "-para arg" comes at the end.

    esxcli software vib list

    Maybe you mixed it up with powercli (powershell) commandlet or some other version of esxcli?

    Regards,
    Joerg