Do you know the difference between WMI and CIM?
CIM is the Common Information Model - http://www.dmtf.org/standards/cim
“CIM provides a common definition of management information for systems, networks, applications and services, and allows for vendor extensions. CIM's common definitions enable vendors to exchange semantically rich management information between systems throughout the network.”
WMI is Microsoft’s implementation of CIM
return the same information
Win32_DiskDrive is derived from CIM_DiskDrive. The CIM class is the superclass for the Win32 class.
Why is this important?
Because in PowerShell v3 Microsoft introduce a while new API for working with WMI - and whole new bunch of cmdlets
compare these to the WMI cmdlets
The analogous CIM cmdlets are highlighted.
The CIM cmdlets use different .NET classes to WMI cmdlets
PS> Get-WmiObject Win32_DiskDrive | gm
PS> Get-CimInstance Win32_DiskDrive | gm
Microsoft have made a big investment in WMI/CIM for Windows 8. I’ll explore some of the new things in coming posts