Introduction

Completed

One of the most common uses for Windows Management Instrumentation (WMI) and Common Information Model (CIM) is querying configuration information from computers. In this module, you'll learn more about the structure of the namespaces that contain classes and also how to query instances of a class. You'll learn how to query remote computers by using ad-hoc connections and CIM sessions.

Learning objectives

After completing this module, you'll be able to:

  • List the available namespaces.
  • List local repository namespaces.
  • Query instances of a specified class.
  • Query instances of a specified class by using WMI, CIM, and WMI Query Language (WQL).
  • Connect to remote computers by using CIM or WMI.
  • Query repository classes from remote computers by using CIM sessions objects.

Prerequisites

Familiarity with:

  • Windows networking technologies and implementation
  • Windows Server administration, maintenance, and troubleshooting
  • Windows PowerShell and its commands to perform specific tasks
  • PowerShell cmdlets used for system administration tasks related to Active Directory, network configuration, server administration, and Windows 10 device administration
  • Windows PowerShell pipeline, PowerShell providers, and PowerShell drives