当我看Win32_ComputerSystem类,它表明类似性质的负荷Status
,PowerManagementCapabilities
等等。然而,当在PowerShell中我做了以下我只拿回一对夫妇:
PS C:\Windows\System32\drivers> Get-WmiObject -Class "Win32_computersystem"
Domain : YYY.com
Manufacturer : VMware, Inc.
Model : VMware Virtual Platform
Name : LONINEGFQEF58
PrimaryOwnerName : Authorised User
TotalPhysicalMemory : 2147016704
如何查看所有属性?
Get-WmiObject -Class win32_computersystem -Property *
。它又短又甜