VMware Cloud Foundation 9.x
Currently, VMware Cloud Foundation (VCF) APIs do not provide a direct endpoint or output method to retrieve the uuid_bios property for managed ESXi hosts.
Workaround
Because the VCF API does not expose this specific metric, you must retrieve the BIOS UUIDs directly from the vCenter Server managing the hosts. You can achieve this using one of the following three methods:
You can query the vCenter Server PostgreSQL database directly to extract the host DNS names and their corresponding BIOS UUIDs.
Connect to the vCenter Server Appliance (VCSA) via SSH and log in as root.
Connect to the PostgreSQL database and execute the following query:
SQL
select dns_name,uuid_bios from vpx_host;
You can use standard vSphere PowerCLI cmdlets to connect to the vCenter Server and extract the host hardware information.
Connect to the vCenter Server using Connect-VIServer.
Query the host hardware system information. For example:
PowerShell
Get-VMHost | Select Name, @{N="BIOS UUID";E={$_.ExtensionData.Hardware.SystemInfo.Uuid}}
If you prefer a graphical utility, you can use RVTools to extract the environment data.