Reputation: 43
In PowerShell you can use the Get-WmiObject cmdlet to grab WMI classes.
I have noticed that I can only gain access to win32 classes, can I gain access in PowerShell to any other classes besides the win32_*?
Upvotes: 4
Views: 7609
Reputation: 18156
get-wmiobject -list
Will give a list of available classes on your machine. Is that what you were asking?
You can also supply a namespace with the -namespace
parameter to list the classes in other namespaces besides root\CIMV2
Upvotes: 7