Servers in a server rack

Update ESXi from command line

By powersjo | Powersjo Technical Blog | 23 Apr 2022

First, ensure you have the right ESXi "offline bundle" from VMware. In my example, I have a Dell server. In order to update ESXi we need the DellEMC custom image from VMware. At the time of this blog, the most update to date image in the 6 series is 6.7 update 3.

Next, upload the zip file to a datastore on the server. Alternatively, any repository that is mapped on the ESXi host.

Ensure all vms are off or are migrated off of the host. Then, put the host into maintenance mode by right clicking, then select "Enter maintenance mode".

Ensure SSH and the ESXi shell services are running by going to manage > Services > right click each service and select "Start."

Login to the host to update ESXi with a SSH session. If you are on windows you can use a program like putty to create that session.

First, I recommend testing the update with the --dry-run tag. *Be sure to put your real datastore path and filename in.*

esxcli software vib update -d /vmfs/volumes/datastore/ --dry-run 

Provided it runs well remove the --dry-run tag and then the update will complete. Finally, you will see something like this.

Type 'reboot' and the host should start up with the new ESXi update.

If you run into image profile issues check out this article from VMware.

Check out my previous book review blog post here.

This post was originally from my blog, referenced below. 

You can get a 25 PRE token bonus if you use my referral code here. This is to support a decentralized web search engine with 

How do you rate this article?




Owner of a blogging site talking about books I have read, side projects, IT blogs, and military history.

Powersjo Technical Blog
Powersjo Technical Blog

This is meant to be a collection of technical blogs. The subjects covered are from my own learning and experience in IT.

Send a $0.01 microtip in crypto to the author, and earn yourself as you read!

20% to author / 80% to me.
We pay the tips from our rewards pool.