Expanded Library

Using WMI and CIM in PowerShell

by Thomas Lee

This course teaches you how you can use the CIM cmdlets and PowerShell to manage local and remote systems.

What you'll learn

Windows Management Instrumentation (WMI) is a core component of Windows that enables you to manage hosts both locally and remotely. Virtually every driver and OS subsystem/feature/role supports a WMI interface. As WMI is standards based, it also interoperates with Open Source systems that implement Open Management Instrumentation (OMI). The CIM cmdlets, introduced with PowerShell v3, provide a superior module you can use to manage systems using WMI (both Windows systems and any host that implements OMI). The course first looks at the architecture of WMI, how to explore WMI, and how to connect to WMI on remote and local machines. The course teaches you how to manage your systems with WMI, including creating, modifying, and destroying WMI data instances, invoke WMI methods locally or remotely, and managing eventing. We also look at associators and references used to link WMI data items. The course presents theory, shows how to use PowerShell to perform key operations, and provides demonstrations so you can see this technology at work. The CIM cmdlets are a set of cmdlets you use to manage your system as we show in this course.

Table of contents

About the author

Thomas is a UK IT Pro, with over 40 year’s experience in the IT field. He’s presently doing writing, consulting and training around some of the key Microsoft technologies including PowerShell, Lync and Windows Server/client.

Ready to upskill? Get started