Managing machines with CIM and WMI
CIM and WMI are related technologies for managing local and remote machines. In this section, we will look at the basics of each and discuss their similarities and differences.
Introduction to CIM and WMI
CIM and WMI are based on the Web-Based Enterprise Management (WBEM) standard introduced by the Distributed Management Task Force (DMTF) in 1996. WMI is Microsoft’s implementation of a set of tools based on WBEM, released in 1998, and CIM is an open standard from the DMTF that defines how the entities in an environment are represented and related. It was released in 1999. In a Windows environment, CIM uses elements of WMI but uses a different set of protocols to access them; WMI uses the Distributed Common Object Model (DCOM) protocol, which is proprietary, and CIM uses the Web Services for Management (WS-MAN) protocol over HTTP, which we saw in Chapter 12, Securing PowerShell.
Both technologies link to a common repository –...