A Simple way to lookup available WMI Objects to Build WMI Queries

A Simple way to lookup available WMI naming:

 

Example lookup up for %Disk% related WMI objects –>

<– Start Snippet–>

get-wmiobject -list -recurse *DISK*

<– End Snippet–>

THEN RUN (to pull the properties of the Object –>

<– Start Snippet–>

Get-WmiObject Win32_DiskDrive | Get-Member

<– End Snippet–>

Leave a Reply