Getting additional server info

Hello all. I am looking to see if BigFix can get an Windows OS Version (i.e Standard vs Datacenter) And is it possible to get the processor core count on a VM ESXi Host. And how to get this particular info if it’s possible.

count of cpupackage should give you the CPU sockets; cores of cpupackage should give you the cores per socket; so if you want the total cores, just multiply them together. As far as the edition of the OS, you need to put in a WMI query to get it:

q: (string value of it as trimmed string) of selects “Caption from win32_operatingsystem” of wmi
A: Microsoft Windows Server 2012 R2 Standard

Take a look at the “dmi” or even better at the “SMSBIOS” inspectors. See following examples:

Q: core_counts of processor_informations of dmi
Q: integer values “core_count” of structures “processor_information” of smbios
Q: integer values “core_enabled” of structures “processor_information” of smbios
A: 2
A: 2
A: 2
A: 2