How To Get the Full List of Properties of A PowerShell Object

image 11 - How To Get the Full List of Properties of A PowerShell Object

When querying a PowerShell object, it only returns a few essential properties by default. For example, querying the W32_ComputerSystem class with Get-WmiObject cmdlet only returns properties like Manufacturer, ComputerName, TotalPhysicalMemory, etc. To get the full list of the properties of Win32_ComputerSystem class, you can pipe the result to Format-List, like below. Get-WmiObject -Class “Win32_ComputerSystem” | Format-List * You can even […]