Home / Programming / Windows / wmi (Windows Management Instrumentation) edit
Try Documentalist, my app that offers fast, offline access to 190+ programmer API docs.

  • Using in powershell
    # list all wmi classes
    Get-WmiObject -list
    # list all wmi namespaces
    gwmi -namespace "root" -class "__Namespace" | Select Name
    # list wmi classes in a given namespace
    gwmi -namespace root\cimv2 -list
    # list all members of a class
    Get-WmiObject Win32_OperatingSystem | Format-List *
    # lists name and type of each property of a class
    Get-WmiObject win32_bios | get-member

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:

Share on        

Need fast, offline access to 190+ programmer API docs? Try my app Documentalist for Windows