PowerShell Script for VMware Cloud Foundation Bundle Management
book
Article ID: 313523
calendar_today
Updated On:
Products
VMware Cloud Foundation
Issue/Introduction
This article provides a menu-driven PowerShell script for VMware Cloud Foundation bundle management. The script can be used as-is or as an example in order to automate bundle management operations.
Symptoms:
Bundle management in SDDC Manager requires gathering information and running tasks and collecting information from several different places. The attached PowerShell script provides an administrator the ability to perform bundle management operations in SDDC Manager using PowerShell.
SDDC Manager is unable to download bundles due to insufficient free disk space.
Get the IDs, applicable VMware Cloud Foundation Version, Product, and Type for downloaded bundles.
Get the IDs, applicable VMware Cloud Foundation Version, Product, and Type for available bundles.
Schedule bundle(s) download.
Show SDDC Manager disk space usage for bundle downloads.
Delete bundles from the SDDC Manager inventory based on the bundle ID, VMware Cloud Foundation version, or all bundles that are not required for the environment.
Environment
VMware Cloud Foundation 4.4.x
VMware Cloud Foundation 4.5.x VMware Cloud Foundation 5.0.x VMware Cloud Foundation 5.1.x
VMware Cloud Foundation 5.2.0
Resolution
Prepare System Requirements:
Windows, Linux, or MacOS running PowerShell Core 7.3.0 or later.