Summary: Learn to look for WMI classes in all WMI namespaces by using Windows PowerShell.
How can I use Windows PowerShell to search all WMI namespaces so that
I can find all WMI classes that are related to batteries?
Use the Get-WmiObject cmdlet, start at the Root namespace, and make sure to use the –recurse switch:
Get-WMIObject -Namespace root -ClassName *battery* -list -recurse -EA 0
0 comments