Course code: MOC 2439« Back

Scripting Using Windows Management Instrumentation

The goal of this course is to teach Microsoft Windows 2000 operating system administrators how to develop Microsoft Visual Basic® Script-based scripts that use the resources of Windows Management Instrumentation (WMI). Administrators will use these scripts to perform a number of common tasks in the Microsoft Windows operating system environment.

This course has been removed from our portfolio
This section contains overview of retired courses which don’t belong to GOPAS course offer any more or were replaced by new course versions.
For more information about possibility to buy retired courses contact our customer services department ( or business department (

AffiliateDurationCatalogue priceHandbook priceITB
Praha2 12 150 CZK included in course price 20
Brno2 12 150 CZK included in course price 20
Bratislava2 260,00 EUR 153,00 EUR 20

User intensity level

Who is the course for

This course is intended for Windows 2000 systems administrators who need to learn how to develop administrative scripts for their enterprise networks. In addition, this course benefits anyone who wants to learn about Windows Management Instrumentation.

What we teach you

  • Describe Windows Management Instrumentation and the Common Information Model (CIM).
  • Use the WMI Software Developer Kit (SDK) Tools CIM Studio, WMI Event Registration, and WMI Event Viewer.
  • Use the SDK documentation to research WMI classes.
  • Describe the WMI Scripting API.
  • Develop scripts that make local or remote connections to any WMI resources.
  • Develop scripts that can efficiently query management data from local or remote resources.
  • Develop scripts that can write to WMI local or remote resources.
  • Describe the WMI event architecture.
  • Develop scripts that can configure, monitor, and implement WMI events.
  • Identify how they can apply WMI Scripting API scripts to access future resources that use Windows Management Instrumentation.

    Required skills

    Completed Course 2433, Microsoft Visual Basic Scripting Edition and Microsoft Windows Script Host Essentials, or equivalent knowledge.

    Teaching methods

    Instructor-led classroom training with self-paced practical exercises in virtual environment

    Teaching materials

    The student kit includes a comprehensive workbook and other necessary materials for this class. The following software is provided in the student kit:
  • SAPIEN Technologies, Inc. PrimalSCRIPT 2.0
  • The Windows Management Instrumentation Software Developer Kit.

    Course Outline

    Module 1: Windows Management Instrumentation (WMI)
  • The Enterprise Management Challenge
  • WMI Overview
  • The Common Information Model
  • Accessing WMI
  • The WMI Architecture.
  • WMI classes.
  • Using CIM Studio.
  • Accessing WMI data by using Microsoft Excel.

    Module 2: Working with WMI Objects

  • Connecting to WMI Using Scripts
  • Accessing WMI Objects
  • Advanced Scripting
  • Security Settings
  • Using properties and methods.
  • Using the WinMgmts Moniker.
  • Using error handling.
  • Installing MSI packages.
  • Managing DHCP clients.

    Module 3: Querying WMI

  • Enumerating Objects
  • WMI Query Language
  • Data Queries
  • Using a Universal Query Script
  • Associations and References
  • Optimizing Queries
  • The View Provider
  • Using the WQL syntax.
  • Developing a reusable basic script query.
  • Using the View Provider.
  • Optimizing queries.
  • Using the SNMP provider.
  • Using the Event Log provider.

    Module 4: Working with Events

  • The WMI Event Architecture
  • Scripting for Events in WMI
  • Using Best Practices
  • Implementing temporary and permanent event consumers.
  • Differentiating between intrinsic and extrinsic events.
  • Using the SDK Event Registration and Event Viewer tools.
  • Using the Active Script event consumer to launch scripts when events occur.

    Module 5: The Future of WMI

  • WMI and Microsoft Products
  • WMI Enhancements in Microsoft Windows XP
  • The Importance of Microsoft .NET
  • References
  • Windows XP.
  • .Net.
  • Previous courses

    no preceding courses

    Next courses

    no following course
    Tištěná příručka MOC 2439

    3950 CZK
    Tištěná příručka MOC 2439

    153 EUR
    The prices are without VAT.