Patch a VMware ESXI host with the ESXCLI command and choose the right image profile

When installing a patch on a VMware ESXi host using the ESXCLI command you need to specify the image profile that is available in the ESXi patch.

Here are the steps for patching a VMware ESXi host with the correct image profile:

  • Go to the Customer Connect Patch Downloads page.
  • Download the patch needed, In this example, I use ESXi patch VMware-ESXi-7.0U3o-22348816-depot.zip
  • Upload the patch to a datastore
  • Make a SSH connection to the ESXi host
  • Place the host in maintenance mode
esxcli system maintenanceMode set –enable-true
  • Now you need to know which image profiles are available in the VMware ESXi patch. To do this use the following command (replace the <datastore> with your datastore):
esxcli software sources profile list -d /vmfs/volumes/<datastore>/iso/VMware-ESXi-7.0U3o-22348816-depot.zip
  • The following profiles are listed. As you can see the image profile contains 4 image profiles:

  • Here is a table with so, 0, standard, and no-tools means:
Option Details
standard With VMware Tools included
no-tools Without VMware Tools
so Security updates only image
o Security and Bugfix update image
  • To install the ESXi with security and bugfix updates without VMware Tools use the following command (replace the <datastore> with your datastore):
esxcli software profile update -d /vmfs/volumes/<datastore>/VMware-ESXi-7.0U3o-22348816-depot.zip -p ESXi-7.0U3o-22348816-no-tools
  • Reboot the host
esxcli system shutdown reboot -r "Patch ESXi 7.0U3"
  • When the host is back, exit maintenance mode,  make a SSH connection to the ESXi host
esxcli system maintenanceMode set --enable false

With this procedure, you can specify the right image profile when manually patching an ESXi host.

Searching for VMware resources?

Here’s an overview of VMware resources I frequently use.

VMware Downloads

Name Description Link
VMware Product Downloads All VMware product downloads. https://customerconnect.vmware.com/en/downloads/#all_products
VMware Patches VMware patches https://customerconnect.vmware.com/patch/
VMware Trials VMware Trials product downloads such as the https://www.vmware.com/trials-test-drives.html
VMware Tools releases All VMware tools release https://packages.vmware.com/tools/releases/
VMware Flings Unofficial apps built by VMware employees to enhance VMware products https://flings.vmware.com/

Technical Reference

Name Description Link
VMware Knowledge Base Knowledge Base https://kb.vmware.com/
VMware Support Insider The top support articles https://blogs.vmware.com/kb/
Product Documentation VMware Product documentation https://docs.vmware.com/
Tech Zone Go from zero to hero with the latest technical resources on the VMware Digital Workspace Tech Zone https://techzone.vmware.com/
Technical Papers All published technical papers in PDF format https://www.vmware.com/techpapers.html
VMware Blogs VMware blogs https://blogs.vmware.com/
Community Forums Community Forums https://communities.vmware.com/
VMware ports Discover which ports are required by VMware products https://ports.esp.vmware.com/
VMware Developer Integrate with VMware APIs to build on top of VMware products, manage our portfolio and automate your infrastructure. https://developer.vmware.com/home
VMware GitHub VMware GitHub page https://github.com/vmware/

Compatibility checks

Name Description Link
Compatibility Guides VMware Hardware Compatability Guides (HCL) https://www.vmware.com/resources/compatibility/search.php
Interoperability matrix Product Interoperability matrix https://interopmatrix.vmware.com/Interoperability

Learning

Name Description Link
VMware Learning VMware learning site https://www.vmware.com/learning.html
VMware Hands-on Learning & Trials VMware Hands-on Learning & Trials https://www.vmware.com/trials-test-drives.html

Security

Name Description Link
VMware Security Advisories VMware Security Advisories document remediation for security vulnerabilities that are reported in VMware products. https://www.vmware.com/security/advisories.html
VMware Security Hardening Guides Security Hardening Guides provide prescriptive guidance for customers on how to deploy and operate VMware products in a secure manner. https://www.vmware.com/security/hardening-guides.html

If you have other VMware resources let me know!

The latest technology news week 32-2023

The latest weekly technology news from Microsoft, VMware, and other partners with a focus on End User Computing (EUC).

Microsoft Azure

  • Generally available: Azure Blob Storage Cold Tier. Link
  • Public preview: Azure Storage Mover support for SMB and Azure Files. Link
  • Subscribe to the Azure Stack HCI Newsletter. Link
  • Azure managed disk types overview. Link
  • Azure Bastion. One does (still) not simply walk into my VNet!. Link

Azure Virtual Desktop (AVD) / VDI

  • Configure autoscaling for personal AVD host pools automated. Link
  • Onboard and configure Defender for Endpoint for non-persistent VDI environments. Link
  • The Az.Avd #powershell module is updated to version 3.1.0. Added personal Avd scaling plan commands. Link

Windows 365

  • Windows 365 Switch now available in public preview. Link
  • Join the EMEA (Europe, Middle-East, and Africa) Windows 365 User Group. Link
  • Join the USA / United States and Latin Americas Windows 365 User Group. Link

Windows

  • Microsoft August 2023 Patch Tuesday warns of 2 zero-days, 87 flaws. Links
  • Windows 11 KB5029263 cumulative update released with 27 fixes. Link

Intune

  • Intune 2307 adds the capability to uninstall apps. Link

Infrastructure as Code (IaC)

  • Updating your PowerShell modules to the latest version plus cleaning up older versions. Link
  • What’s New in vSphere Automation: Infrastructure as Code. Link
  • What’s New in vSphere Automation: Power Actions. Link
  • Automate Nvidia vGPU Driver Upgrade using Powershell for VMware Horizon. Link
  • PowerCLI Community Repository. Link
  • GO-EUC Lab files. Link
  • TFTUI – The Terraform textual UI. Link
  • Streamlining Software Deployments with Intune Win32 Apps, Winget & PowerShell!. Link

VMware

  • See the IaC section for updates.

Other

  • None