-
Notifications
You must be signed in to change notification settings - Fork 49
Description
I used your guide (I am modifying the v8 to a v9) and I got this error
Add-EsxSoftwareDepot : Failed to initialize the VMware.ImageBuilder PowerCLI module because of error: Unsupported Python version. VMware.ImageBuilder supports Python versions 3.7.1 - 3.12.
Make sure that Python version 3.7.1 - 3.12 is installed and that you have set the path to the Python executable by using Set-PowerCLIConfiguration -PythonPath <executable_path>. See the PowerCLI Compatibility Matrixes for information on the Python
requirements.
The latest Python I installed was python-3.13.7-amd64.exe
This is not a limitation of your script, rather a VMware limitation but I wanted to let everyone who may be wanting to use this in 2025-09 to download Python 3.12
My recent powercli install lists this for VMware.ImageBuilder
Name : VMware.ImageBuilder
Path : C:\Program Files\WindowsPowerShell\Modules\VMware.ImageBuilder\13.3.0.24145081\VMware.ImageBuilder.psd1
Description : This PowerShell module contains PowerCLI ImageBuilder cmdlets.
ModuleType : Script
Version : 13.3.0.24145081
NestedModules : {}
ExportedFunctions :
ExportedCmdlets : {Add-EsxSoftwareDepot, Add-EsxSoftwarePackage, Compare-EsxImageProfile, Export-EsxImageProfile...}
ExportedVariables :
ExportedAliases :