Creating a Custom ESXi Image

1. Download the required ESXi software depot

e.g. from

2. Download any additional software from VMware and/or vendors

e.g. from

3. Run PowerCLI

4. Add the ESXi software depot via ‘Add-EsxSoftwareDepot –DeportUrl [path to zip]’

5. Check the Image Profile name via ‘Get-ESXImageProfile | Select Name’

6. Clone the Image Profile to new via ‘New-EsxImageProfile –CloneProfile [Image Name] –Name “[New Image Name]”’

e.g. New-ESXiImageProfile –CloneProfile ESXi-5.5.0-20160204001-standard –Name “dmz”

7. Add additional software via ‘Add-ESXSoftwareDepot –DepotUrl [path to zip]’

e.g. Add-EsxSoftwareDepot -DepotUrl .\

8. Check the additional software names via ‘Get-EsxSoftwarePackage

9. Add the additional software to your Image Profile via ‘Add-EsxSoftwarePackage –ImageProfile [Your Image Name] –SoftwarePackage [Additional Software name]’

e.g. Add-EsxSoftwarePackage -ImageProfile dmz -SoftwarePackage cisco-vem-v173-esx

10. Export the Image Profile to VIB or ISO via ‘Export-EsxImageProfile [Your Image Name] –ExportTo[ISO/Bundle] -FilePath [Export Path]

e.g. Export-EsxImageProfile -ImageProfile dmz -ExportToBundle -Filepath D:\Deploy\Source\DMZ-Custom\


Note: I have encountered an error running this command stating ‘Export-EsxImageProfile : Can not instantiate ‘certified’ policy: VibSign module missing.’

To work around this issue I have added the ‘-NoSignatureCheck’ switch to the Export command.

This has apparently been fixed in

11. Deploy your image via VUM or direct attached ISO

Leave a Reply

Your email address will not be published. Required fields are marked *