When running any Get- commands for Image Builder, PowerCLI does not show any output
search cancel

When running any Get- commands for Image Builder, PowerCLI does not show any output

book

Article ID: 390510

calendar_today

Updated On: 04-25-2025

Products

VMware vCenter Server

Issue/Introduction

  • Connect to the vCenter Server using PowerCLI

       Connect-VIServer -server <vcsa_fqdn>

  • Run any of the below commands:

       Get-EsxSoftwareDepot

       Get-EsxImageProfile

       Get-EsxSoftwarePackage

  • PowerCLI does not show any output even though the software depots, Image Profiles, and Software Packages are visible in the vCenter UI.

Environment

Power CLI 12.X, 13.X

vCenter Server 7.0 and 8.0

Resolution

It is an expected behavior as ImageBuilder does not have any public APIs or PowerCLI cmdlets since it was only meant as a backend for the UI.

When a software depot, Image Profile, and Software Package is created in vSphere UI, It will not show up in PowerCLI.