Digital strategist, front end + email developer, WordPress enthusiast, IT tinkerer, and not-so-horrible writer

The Maddening Process of Making a Custom VMware ESXi 7.0x ISO

First, the most important part: the set of PowerShell commands which allowed me to make a custom VMware ESXi 7.0.2 (ESXi-7.0U2e-19290878-standard):

# Do this once: install VMware PowerCLI from the PowerShell Gallery
Install-Module -Name VMware.PowerCLI -Scope CurrentUser

# Do this once
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine

# Check that it worked
Get-ExecutionPolicy -List

# Change the path to your working folder (e.g. c:\esxi)
cd "c:\change\this\to\your\working\folder\name"



# Use the following image: ESXi-7.0U2e-19290878-standard

Export-ESXImageProfile -ImageProfile "ESXi-7.0U2e-19290878-standard" -ExportToBundle -filepath


# If you mess up anything after pulling the ESXi image you need you can restart at this point once you drop into the working directory

Add-EsxSoftwareDepot .\

Add-EsxSoftwareDepot .\

Add-EsxSoftwareDepot .\

New-EsxImageProfile -CloneProfile "ESXi-7.0U2e-19290878-standard" -name "ESXi-7.0U2e-19290878-USBNIC" -Vendor "VMW"

Remove-EsxSoftwarePackage -ImageProfile "ESXi-7.0U2e-19290878-USBNIC" -SoftwarePackage "ne1000"

Add-EsxSoftwarePackage -ImageProfile "ESXi-7.0U2e-19290878-USBNIC" -SoftwarePackage "net-community"

Add-EsxSoftwarePackage -ImageProfile "ESXi-7.0U2e-19290878-USBNIC" -SoftwarePackage "vmkusb-nic-fling"

Export-ESXImageProfile -ImageProfile "ESXi-7.0U2e-19290878-USBNIC" -ExportToIso -Force -filepath ESXi-7.0U2e-19290878-USBNIC.iso

Export-ESXImageProfile -ImageProfile "ESXi-7.0U2e-19290878-USBNIC" -ExportToBundle -Force -filepath

# Set your local machine execution policy back to the way it was
Set-ExecutionPolicy -ExecutionPolicy Restricted -Scope LocalMachine

#Check that it worked
Get-ExecutionPolicy -List

Leave a reply