Chapter 6 Quick Reference
To | Do This |
|---|---|
Find the default WMI namespace on a computer | Use the advanced tab from the WMI Control Properties dialog box |
Browse WMI classes on a computer | Use the Get-WmiObject cmdlet with the list argument |
Make a connection into WMI | Use the Get-WmiObject cmdlet in your script |
Use a shortcut name for the local computer | Use a dot (.) and assign it to the variable holding the computer name in the script |
Find detailed information about all WMI classes on a computer | Use the Platform SDK: http://msdn2.microsoft.com/en-us/library/aa394582.aspx |
Find the default WMI namespace on a computer | Use the advanced Tab from the WMI Control Properties dialog box |
List all the namespaces on a computer | Query for a class named __NameSpace |
List all providers ... |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access