How to list all properties of a PowerShell object

后端 未结 5 922
春和景丽
春和景丽 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条回答
  •  心在旅途
    2020-12-04 08:12

    If you want to know what properties (and methods) there are:

    Get-WmiObject -Class "Win32_computersystem" | Get-Member
    

提交回复
热议问题