How to list all properties of a PowerShell object

后端 未结 5 909
春和景丽
春和景丽 2020-12-04 07:47

When I look at the Win32_ComputerSystem class, it shows loads of properties like Status, PowerManagementCapabilities, etc. However, when in PowerSh

5条回答
  •  萌比男神i
    2020-12-04 08:20

    The most succinct way to do this is:

    Get-WmiObject -Class win32_computersystem -Property *
    

提交回复
热议问题