Chapter 11. WMI Scripting and WMIC

Having introduced the basics of scripting for WMI in Chapter 10, we focus in this chapter on the process of writing your own scripts. We examine the thought processes involved as a series of steps and examine practical issues such as how your script will interact with its environment, what type of execution model it will adopt, and how to debug it. In the latter part of the chapter, we introduce the Windows XP command-line driven tool WMIC and give examples of its use in interactive and noninteractive mode.

Identifying the Correct Course of Action

Regardless of whether you intend to use WMIC, VBScript, or WMI CIM Studio, there are a number of steps you should take before committing to any particular course of action. ...

Get Developing WMI Solutions: A Guide to Windows Management Instrumentation 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.