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_*?
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
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.