WMI
NOTE: CIM is the open standard of WMI, is cross-platform, and more efficient.
WMI and CIM
- Common Information Model (CIM) and Windows Management Instrumentation (WMI) are frameworks for managing Windows and other services
- WMI
- Uses the older DCOM protocol for communication
- Can be a little slower and less secure
- Specific to Windows
- Available on PowerShell 2.0 and later
- Uses the older DCOM protocol for communication
- CMI
- Uses WS-MAN (Web Services-Management) protocol
- More cross-platform friendly
- Can be used on non-Windows systems that support CIM
- Generally faster
- Available on PowerShell 3.0 and later
- For a current list of commands for WMI or CIM, use
Get-Command -Noun <*CIM*/*WMI*>
Metadata
Sources
Windows Management Instrumentation - Win32 apps | Microsoft Learn
CIM | DMTF
Should I use CIM or WMI with Windows PowerShell? - Scripting Blog [archived]