levi
Junior Member
Posts: 57
|
Post by levi on Jun 26, 2019 1:17:23 GMT
On a virtual machine the XHWChassisType variable is set to UNKNOWN instead of VIRTUAL.
Manufacturer : Xen
Model : HVM domU
|
|
|
Post by Jason on Jun 27, 2019 13:19:17 GMT
There is no "virtual" chassis type. See section 7.4.1 at www.dmtf.org/sites/default/files/standards/documents/DSP0134_3.2.0.pdf for the complete list of chassis types. The chassis type is something set by the hardware manufacturer and on VMs, this is always set to unknown to my knowledge. You can query the ChassisTypes attribute of the Win32_SystemEnclosure class to check.
|
|
levi
Junior Member
Posts: 57
|
Post by levi on Jun 27, 2019 16:28:13 GMT
Okay, I will continue to add actions to set variable based on checks for known VM models.
|
|
|
Post by Jason on Jun 28, 2019 18:32:26 GMT
There is a variable named XHWVirtualMachineType that is set by the DeafultValues action. This should be correctly populated for Xen (and other hypervisor types).
|
|