I use autodeploy where I work at and use image builder to build images for autodeploy. I have been doing this for years and have the process documented well so other co-workers can use when I leave.
First thing I always do is connect to the online VMware depot :
Add-EsxSoftwareDepot -DepotUrl https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml
Then I run the Get-EsxImageProfile command to show the latest image profiles. But this time I received the following error :
So after some google searching I found that it is a known issue in Powercli 5.5 r2 Release notes . So it tells you to run – Get-EsxImageProfile -name “ESXi-5.x*”, but that did not work for me. I still received the same error.
So I did some more google searching and found this VMware knowledge base article . It said after you run the command and receive the error message, you need to close the powercli window and open a new window and then run the – Get-EsxImageProfile -name “ESXi-5.x*” command.
After I opened a new window and ran the command, it worked for me.
As long as you use the -name with the Get-EsxImageProfile you will not have any problems. Hopefully a fix will be provided soon.