Wmi Win32_SystemEnclosure中的SMBIOSAssetTag为空

Wmi Win32_SystemEnclosure中的SMBIOSAssetTag为空,wmi,wsh,Wmi,Wsh,使用Win32\u SystemEnclosure类并检查本地机器AssetTag和Partnumber的值。有人能建议如何使用Win32\u System\u XXX类之一获取本地机器的服务标签吗 Win32_SystemEnclosure和Win32_ComputerSystemProduct分别具有相同值的属性SerialNumber和IdentificationNumber,即服务标签

使用
Win32\u SystemEnclosure
类并检查本地机器AssetTag和Partnumber的值。有人能建议如何使用
Win32\u System\u XXX
类之一获取本地机器的
服务标签吗

Win32_SystemEnclosure和Win32_ComputerSystemProduct分别具有相同值的属性SerialNumber和IdentificationNumber,即服务标签