Chapter 21. Troubleshooting WMI Scripting

Before You Begin

To work through the material presented in this chapter, you need to be familiar with the following concepts from earlier chapters:

  • The basics of working with Microsoft Windows Management Instrumentation (WMI) namespaces

  • The basics of writing a WMI script, connecting to namespaces, and retrieving class information

After completing this chapter, you will be able to:

  • Understand the services involved in making WMI work

  • Recognize dependencies that must be met for WMI to work

  • Evaluate symptoms of a corrupt database

  • Understand common methods of recovering from problems with WMI

Identifying the Problem

WMI is one of those services that simply work. Most people never have to troubleshoot WMI; in fact, many ...

Get Microsoft® VBScript Step by Step now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.