4

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_*?

1 Answer 1

7
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

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.