WilliamLam.com

  • About
    • About
    • Privacy
  • VMware Cloud Foundation
    • VMware Cloud Foundation 9.1
    • VMware Cloud Foundation 9.0
  • VKS
  • Homelab
    • Hardware Options
    • Hardware Reviews
    • Lab Deployment Scripts
    • Nested Virtualization
    • Homelab Podcasts
  • VMware Nostalgia
  • Apple
You are here: Home / PowerCLI / Quick Tip - Easily identify Virtual Appliances using vSphere API

Quick Tip - Easily identify Virtual Appliances using vSphere API

10.03.2023 by William Lam // Leave a Comment

VMware Virtual Appliances (VA) that are built from either VMware or from our 3rd party eco-system will typically include useful metadata about the solution including name, version, vendor and other details.

Using the vSphere UI, you can locate this information when selecting a VM under Configure->Settings->vApp Options and below is an example for a vCenter Server Appliance (VCSA).


Note: If you deploy a VA directly to an ESXi host, these VA properties will not be available as the vApp capability is a vCenter Server feature.

I recently had an inquiry from a customer with over 10K+ VMs that was looking to identify this information and obviously, using the vSphere UI would be a non-starter and was looking for a way to automate this.

With the vSphere API, you can also easily retrieve this information which is available within the vAppConfig object which includes other useful pieces of information including appliance configurations used during the deployment. To retrieve the high level product information, you can use the ProductInfo property and to demonstrate this, below is a small PowerCLI snippet that uses the vSphere API to extract this property:

$vms = Get-View -ViewType VirtualMachine -Property Name,Config.VAppConfig.Product

foreach ($vm in $vms | where {$_.Config -ne $null -and $_.Config.VAppConfig.Product.Vendor -ne ""}) {
        $vm.Name
        $vm.Config.VAppConfig.Product[0]
}

Here is a screenshot of what the output will look like:

Categories // PowerCLI Tags // virtual appliance

Thanks for the comment!Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Search

Thank Author

Author

William is Distinguished Platform Engineering Architect in the VMware Cloud Foundation (VCF) Division at Broadcom. His primary focus is helping customers and partners build, run and operate a modern Private Cloud using the VMware Cloud Foundation (VCF) platform.

Connect

  • Bluesky
  • Email
  • GitHub
  • LinkedIn
  • Reddit
  • RSS
  • Twitter
  • Vimeo

Recent

  • VCF 9.1 - Deploying the VCF License Server Directly to an ESX Host 07/24/2026
  • VCF 9.1 - vSphere Back-in-Time Support for Upgrade, Converge and Import 07/21/2026
  • VCF Infrastructure Services (VIS) Appliance for VCF 9.1 Lab/PoC 07/20/2026
  • Quick Tip - Automatically Generate VCF Download Tool Commands with Express Patches for VCF 9.0.2 and 9.1.0 07/17/2026
  • VCF 9.1 - Automating VCF Backup Scheduling with the Fleet LCM API 07/17/2026
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.

To find out more, including how to control cookies, see here: Cookie Policy

Copyright WilliamLam.com © 2026

Loading Comments...