Retrieve Information about Components, Base Image, and Add-On on a Host with ESXCLI
Last Updated December 16, 2024

You can use ESXCLI to list the components on an
ESXi
host and retrieve detailed information about each component. You can also retrieve information about base image and add-on on an
ESXi
host.
The following example illustrates how to list all components, retrieve details about an individual component, and retrieve information about base image and add-on. Specify one of the connection options listed in Connection Options for ESXCLI Host Management Commands in place of
<conn_options>
.
  1. List all components installed on the host.
    esxcli <conn_options> software component list
    The list contains information about the name, display name, version, display version, vendor, creation date, and acceptance level of each component.
  2. Retrieve detailed information about a specific component from the list by specifying the component name.
    The component name can be either in the
    <
    component_name
    >
    or
    <
    component_name
    >:<
    version
    >
    format. If there are multiple components with the same name, you must specify the version. Component names are case-sensitive.
    esxcli <conn_options> software component get -n <component_name>
  3. Retrieve detailed information about the base image installed on the host.
    esxcli <conn_options> software baseimage get
  4. Retrieve detailed information about the add-on installed on the host.
    esxcli <conn_options> software addon get