liveBook · Manning

Common Information Model

The Common Information Model is a standardized object-oriented information model for representing managed computing resources and their relationships.

How 2 Manning books explain it

Learn PowerShell Scripting in a Month of Lunches, Second Edition: Write and organize scripts and tools

The Common Information Model is an industry standard object-oriented model for representing and managing information about systems and resources.

How it is used
Uses CIM to discover system information and perform service-management tasks in PowerShell automation.
How deep it goes
Develops command discovery and prerequisite checks, but stops short of explaining CIM internals or the complete automation tool.
Examples
Uses computer inventory queries, Get-CimInstance win32_service, BITS, and Print Spooler as practical examples.
What you can do after
Operate CIM through PowerShell to query local services and begin discovering classes for service changes.

Read how Learn PowerShell Scripting in a Month of Lunches, Second Edition: Write and organize scripts and tools explains Common Information Model →

Learn PowerShell in a Month of Lunches: Fourth Edition, Covers Windows, Linux, and macOS

CIM, the Common Information Model, is a standard information model for representing managed computing resources and their relationships.

How it is used
Applies CIM classes and methods to perform Windows administration when no dedicated PowerShell cmdlet exists.
How deep it goes
Demonstrates querying, filtering, method discovery, invocation, and return-value interpretation without detailing CIM internals.
Examples
Uses Intel network adapter configurations, filtered queries, EnableDHCP, and returned method-status values.
What you can do after
Operate/configure selected network adapters by filtering CIM instances and invoking their available methods.

Read how Learn PowerShell in a Month of Lunches: Fourth Edition, Covers Windows, Linux, and macOS explains Common Information Model →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.