VMware Cloud Community
DyJohnnY
Enthusiast
Enthusiast

Grab SKU information from SMBIOS via API/CIM

Hi,

 

I'm trying to get the CIM equivalent of information returned by smbiosDump.

I am especially interested in the SKU field of smbiosDump

Example of SKU section of the "system info" from smbiosDump

System Info (Type 1): #1
Manufacturer: "IBM"
Product: "Some Server"
Version: "07"
Serial: "....."
SKU: "ABCDSomeSKU"

 

I searched the view object for the vmhost under hardware.systeminfo on all properties and this is not returned anywhere.

Is there any way I can grab this via the API or CIM?

IonutN
0 Kudos
1 Reply
LucD
Leadership
Leadership

This is completely dependant on the HW Vendor and HW Type.
Some provide that info, others don't.

The best way to access the data, imho, is to use Get-CIMInstance, a regular PowerShell cmdlet.
There is some sample code in ESXi get CIM via vCenter PowerCLI


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos