Appendix B. WMI reference
This appendix supplies a collection of WMI-related reference material to help you when writing PowerShell scripts that use WMI.
B.1. Useful WMI namespaces
There are a number of WMI namespaces that you’ll often use. These are collected in table B.1.
Table B.1. Useful WMI namespaces
Namespace |
Comments |
---|---|
Root\cim2 | Default WMI namespace; contains the majority of the Win32 classes |
Root\wmi | Contains many hardware-related classes but is mainly undocumented |
root\MicrosoftDNS | DNS server management |
root\virtualization | Hyper-V management |
Root\MSCluster | Cluster |
Root\MicrosoftNLB | NLB management |
Root\webadministration | IIS management |
root\StandardCimv2 | New classes introduced with Windows 8; drives many of the new modules |
root\Hardware ... |
Get PowerShell and WMI now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.