VMware ESXi upgrade using ESXCLI

Last updated:

VMWARE

## Run this to get the name
esxcli software sources profile list -d /vmfs/volumes/datastore1/ESXi7-bundle/VMware-ESXi-7.0U2d-18538813-depot.zip

## Update name after -p
esxcli software profile update -p ESXi-7.0U2d-18538813-standard -d /vmfs/volumes/datastore1/ESXi7-bundle/VMware-ESXi-7.0U2d-18538813-depot.zip


Example:
esxcli software sources profile list -d /vmfs/volumes/5da0
ab35-50b8c2e8-de81-08f1eaf4b402/VMware-ESXi-7.0.3-21424296-HPE-703.0.0.11.3.0.5-Apr2023-depot\ \(1\).zip
Name                               Vendor                      Acceptance Level  Creation Time        Modification Time
---------------------------------  --------------------------  ----------------  -------------------  -----------------
HPE-Custom-AddOn_703.0.0.11.3.0-5  Hewlett Packard Enterprise  PartnerSupported  2023-03-24T05:15:11  2023-03-24T05:15:11

esxcli software profile update -p HPE-Custom-AddOn_703.0.0.11.3.0-5 -d /vmfs/volumes/5da0
ab35-50b8c2e8-de81-08f1eaf4b402/VMware-ESXi-7.0.3-21424296-HPE-703.0.0.11.3.0.5-Apr2023-depot\ \(1\).zip

references:

Upgrade or Update a Host with Image Profiles (vmware.com)