VMware ESX v9 ESXCLI Commands

by Simon Sparks · 20 February 2026

Command Line Description:

vim-cmd/hostsvc/maintenance_mode_enter

OR

esxclisystemmaintenanceModeset--enabletrue
Bash

Result:

# NO OUTPUT
Bash

Command Line Description:

vim-cmd/hostsvc/hostsummary|grepinMaintenanceMode
Bash

Result:

inMaintenanceMode=true,
Bash

Command Line Description: Find the Offline Depot ZIP File(s) in the Datastores

find/vmfs/-name*-depot.zip
Bash

Results: The Full Path to the Offline Depot ZIP File(s) in the Datastores.

/vmfs/volumes/ddce4372-7d141f7c/DEPOTs/VMware-ESXi-9.0.2.0.25148076-depot.zip
Bash

Command Line Description: Show the profiles which are contained within the Offline Depot ZIP File.

esxclisoftwaresourcesprofilelist

--depot=/vmfs/volumes/ddce4372-7d141f7c/DEPOTs/VMware-ESXi-9.0.2.0.25148076-depot.zip
Bash

Result:

NameVendorAcceptanceLevelCreationTimeModificationTime
----------------------------------------------------------------------------------------------
ESXi-9.0.2.0-25148076-no-toolsVMware,Inc.PartnerSupported2026-01-20T00:00:002026-01-20T00:00:00
ESXi-9.0.2.0-25148076-standardVMware,Inc.PartnerSupported2026-01-20T00:00:002026-01-20T00:00:00
Bash

Command Line Description:

esxclisoftwareprofileget
Bash

Result:

DEL-ESXi_9000.24755229-A01
Name:DEL-ESXi_9000.24755229-A01
Vendor:DellInc.
CreationTime:2025-09-28T11:47:49
ModificationTime:2026-02-20T12:19:58
StatelessReady:True
Description:

VIBs:# LOTS OF LINES REMOVED FOR CLARITY
DPUProfiles:
Bash

Command Line Description:

esxclisoftwareprofileinstall

--depot=/vmfs/volumes/ddce4372-7d141f7c/DEPOTs/VMware-ESXi-9.0.2.0.25148076-depot.zip
--profile=ESXi-9.0.2.0-25148076-standard
Bash

Result:

[HardwareError]
HardwareprecheckofprofileESXi-9.0.2.0-25148076-standardfailedwithwarnings:
<CPU_SUPPORTOVERRIDEWARNING:TheCPUsonthishostarenotsupportedbyESXi9.0.2.
Youcanoverrideandforceinstall,butitisnotofficiallysupportednorrecommended.
PleaserefertoKB82794formoredetails.>

Apply--no-hardware-warningoptiontoignorethewarningsandproceedwiththetransaction.
Pleaserefertothelogfileformoredetails.
Bash

Command Line Description:

esxclisoftwareprofileinstall

--depot=/vmfs/volumes/ddce4372-7d141f7c/DEPOTs/VMware-ESXi-9.0.2.0.25148076-depot.zip
--profile=ESXi-9.0.2.0-25148076-standard
--no-hardware-warning
Bash

Result:

[ProfileVibRemoval]
YouattemptedtoinstallanimageprofilewhichwouldhaveresultedintheremovalofVIBs

{'DEL_bootbank_dellfac_1.0.6-1OEM.802.0.0.22380479','INT_bootbank_ixgben-ens_1.19.2.0-1OEM.800.1.0.20613240','DEL_bootbank_dellosname_1.0.4-1OEM.800.1.0.20143090','DEL_bootbank_dellconfig_5.0.0-1OEM.900.0.24580437','DEL_bootbank_dellfistutil_6.0.4-1OEM.703.0.0.18644231'}.

Ifthisisnotwhatyouintended,youmayusetheesxclisoftwareprofileupdatecommandtopreservetheVIBsabove.Ifthisiswhatyouintended,pleaseusethe--ok-to-removeoptiontoexplicitlyallowtheremoval.

profile=ESXi-9.0.2.0-25148076-standard
removed={'DEL_bootbank_dellfac_1.0.6-1OEM.802.0.0.22380479','INT_bootbank_ixgben-ens_1.19.2.0-1OEM.800.1.0.20613240','DEL_bootbank_dellosname_1.0.4-1OEM.800.1.0.20143090','DEL_bootbank_dellconfig_5.0.0-1OEM.900.0.24580437','DEL_bootbank_dellfistutil_6.0.4-1OEM.703.0.0.18644231'}

Pleaserefertothelogfileformoredetails.
Bash

Command Line Description:

esxclisoftwareprofileinstall

--depot=/vmfs/volumes/ddce4372-7d141f7c/DEPOTs/VMware-ESXi-9.0.2.0.25148076-depot.zip
--profile=ESXi-9.0.2.0-25148076-standard
--no-hardware-warning
--ok-to-remove
Bash

Result:

InstallationResult
Message:Theupdatecompletedsuccessfully,butthesystemneedstoberebootedforthechangestobeeffective.
VIBsInstalled:# LOTS OF LINES REMOVED FOR CLARITY
VIBsRemoved:# LOTS OF LINES REMOVED FOR CLARITY
VIBsSkipped:# LOTS OF LINES REMOVED FOR CLARITY
RebootRequired:true
DPUResults:
Bash

Command Line Description:

esxclisystemshutdownreboot--reason'Upgrade to ESX v9.0.2.0'
Bash

Result:

# NO OUTPUT
Bash

Command Line Description:

vim-cmd/hostsvc/maintenance_mode_exit

OR

esxclisystemmaintenanceModeset--enablefalse
Bash

Result:

# NO OUTPUT
Bash

Command Line Description:

vim-cmd/hostsvc/hostsummary|grepinMaintenanceMode
Bash

Result:

inMaintenanceMode=false,
Bash

Discover more from Cloud Build Tools

Subscribe to get the latest posts sent to your email.

You may also like