[Update] ESXi-Customizer-PS 2.5 - The ESXi image customization script

This is just a quick heads up for the users of my ESXi-Customizer-PS script for ESXi image builds and customizations. I have just published the new version 2.5 of the script, and that adds
  • full support of vSphere 6.5 (use the new -v65 switch to limit Image profile selection)
  • support of PowerCLI 6.5
  • enhanced logging capabilities
If you have run into issues with older versions of the script then please update now and let me know how it goes.

In the meantime VMware has also published the ESXi 6.5 GA bits to its Online Depot, and that means it is very easy to create an ESXi 6.5 installation ISO or Offline bundle with my script. Just run it without any arguments for the ISO file (or only the -ozip switch for the Offline Bundle), and it will do its magic.

Have fun!

This post first appeared on the VMware Front Experience Blog and was written by Andreas Peetz. Follow him on Twitter to keep up to date with what he posts.


  1. Starting with esxi 6.5 load net-tulip is no longer working. This esxi version has issue loading this nic driver

    .\ESXi-Customizer-PS-v2.5.ps1 -v65 -vft -load net-tulip
    install using the customize 6.5 iso can't detect this nic. The vmkernel.log shows

    Elf : 2219: Load of failed : missing required namespace :

    I don't have issue doing this for vsphere 5.5 or 6.0

    1. Hi Phong,

      I'm sorry, but this driver is incompatible with ESXi 6.5, because it was compiled using the source code of ESXi 5.0 only. I have updated my related article accordingly: ESXi 6.5 Release Notes for free license and white box users.


  2. Welche PowerCLI Version ist erforderlich, um die Images für eine gegene Hyervisorversion fehlerfrei zu bauen?

    1. Das hängt nicht von der ESXi-Version ab. Wie auf der Projektseite beschrieben sollte das mit PowerCLI 5.1 oder neuer funktionieren.

  3. A minor suggestion, when your script is run under PowerShell ISE it always generates meaningless error messages when it tries to resize the window.
    It would be nice if that wasn't the case, for instance checking that $newsize is valid after setting to windowsize works.

    $newsize = $pswindow.windowsize
    if ( $newsize ) {
    if ( $newsize.height -lt 50)...
    if ( $newsize.width -lt 120)...
    $pswindow.windowsize = $newsize

  4. An unexpected error occured:
    [WinError 10054] An existing connection was forcibly closed by the remote host
    How to fix this issue?


***** All comments will be moderated! *****
- Please post only comments or questions that are related to this post's contents!
- Advertising and link spamming will not be tolerated!