Scripting Microsoft Windows Management Instrumentation
(Microsoft Training Course: 2439) - 2 days - £1015 exc VAT

> Target Audience
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
> Course outline
  1. Windows Management Instrumentation (WMI)
  2. Working with WMI Objects
  3. Querying WMI
  4. Working with Events
  5. The Future of WMI

Module 1: Windows Management Instrumentation (WMI)
  • The Enterprise Management Challenge
  • WMI Overview
  • The Common Information Model
  • Accessing WMI
  • Describe Windows Management Instrumentation and the Common Information Model.
  • Use CIM Studio.
  • Access WMI data by using Microsoft Excel.
Module 2: Working with WMI Objects
  • Connecting to WMI Using Scripts
  • Accessing WMI Objects
  • Advanced Scripting
  • Security Settings
  • Use the WMI Scripting API to develop scripts that access WMI objects.
  • Use the WinMgmts Moniker.
  • Install MSI packages.
  • Manage 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
  • Develop scripts that use the WMI Query Language (WQL) to retrieve management data.
  • Use the WQL syntax.
  • Develop a reusable basic script query.
  • Use the View Provider.
  • Use the SNMP provider.
  • Use the Event Log provider.
Module 4: Working with Events
  • The WMI Event Architecture
  • Scripting for Events in WMI
  • Using Best Practices
  • Implement WMI events.
  • Implement temporary and permanent event consumers.
  • Differentiate between intrinsic and extrinsic events.
  • Use the SDK Event Registration and Event Viewer tools.
  • Use 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
  • Investigate how WMI Scripting API scripts will be used with future applications and operating systems.
> Pre-Requisites
Before attending this course, students must have the following pre-requisites:
> Purpose
At the end of the course, students will be able to 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.