If you ever have some disk space issues on the SDDC Manager or just want to clean up all the old, downloaded update/upgrade bundles which you don’t need anymore, there is a nice PowerShell script from VMware which I want to show you in this post.
The script is called VcfBundleManagement.ps1. It is explained in the following VMware KB article where you can download the latest version as a zip-file:
https://knowledge.broadcom.com/external/article?legacyId=94760
The prerequisites on your Jump host are installed and current versions of PowerShell Core, VMware PowerCLI and PowerVCF.
After starting the script you have to connect to your SDDC Manager using your SSO Administrator and the SDDC Manager root user (or you start the script with the appropriate parameters). If your logins are correct the script first collects all the bundle information and then shows you the following menu:
We had a rare issue during a skip-level upgrade where we didn’t have the option to upgrade directly from 5.1 to 5.2 even though we had downloaded all 5.2 bundles before. In our case it helped to first “Delete all bundles for a version” (6) and then “Download all bundles for a version” (9) again.
I hope this short post can be helpful to you too. Feel free to share if you likeā¦
// footnotes:
Date: 23.08.2024
Version: 1.0