How to list all properties of a PowerShell object

后端 未结 5 923
春和景丽
春和景丽 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:22

    You can also use:

    Get-WmiObject -Class "Win32_computersystem" | Select *
    

    This will show the same result as Format-List * used in the other answers here.

提交回复
热议问题