February 2019
Intermediate to advanced
626 pages
15h 51m
English
PowerShell has two different sets of commands dedicated to working with WMI.
The CIM cmdlets were introduced with PowerShell 3.0. They are compatible with the Distributed Management Task Force (DMTF) standard DSP0004. A move towards compliance with open standards is critical as the Microsoft world becomes more diverse.
WMI itself is a proprietary implementation of the CIM server, using the Distributed Component Object Model (DCOM) API to communicate between the client and server.
Standards compliance and differences in approach aside, there are solid, practical reasons to consider when choosing which one to use.
Some properties of CIM cmdlets are as follows:
Read now
Unlock full access