From the Author
Many applications written for Windows currently dont harness the power of a systems management technology (like WMI); this is what drove us to write this book. We want developers to realize that making an application manageable is a key benefit, especially to system administrators. Once system administrators and IT support departments realize what can be done with WMI, they will start demanding that applications expose WMI management interfaces. Not only will system administrators by happy, but youll be able to harvest a wealth of information available from WMI when building your own management applications. The other side of the coin apart from making an application manageable is a management application. A management application is a program (like an MMC snap-in) or web interface that can interact with the system to gather, inspect and manipulate the systems functionality or configuration. We also want system administrators to realize what they can do in !
a system equipped with a technology like WMI and how they should go about automating routine tasks. For instance, a system administrator can easily write a script that will identify what Windows service packs have been installed on all the machines in the network.
From the Inside Flap
Windows Management Instrumentation (WMI) is an impressive technology. WMI provides, for the first time, an integrated approach to hardware and software management for the Windows operating system. Developing WMI Solutions provides administrators and developers with the skills necessary to take advantage of the power of WMI with Windows 2000,XP, and .net Server.
Developing WMI Solutions starts with an overview of the concepts behind systems management. The authors then provide a synopsis of existing management architectures and an explanation of the architectural components of WMI and the tools provided by Microsoft for their use. Also included is a WMI scripting boot camp for administrators using samples in VBScript, plus a series of best practices that give scripts a professional edge. You will find thorough coverage of such topics as:
- The Common Information Model (CIM)
- Developing CIM extended schemas
- Management-application development using C++ and COM for WMI
- MMC snap-ins, including a tutorial-style chapter using C++ and COM
- WMI providers and the necessary C++ and COM skills needed to expose class schema
- Developing management applications using the .net Framework the first comprehensive guide to the WMI classes in the System.Management namespace
Finally, developers will learn about the often undersold but extremely powerful high-performance event-tracing mechanism available in Windows, which allows developers to expose detailed information about operations in an application. Both a tutorial and a reference, Developing WMI Solutions is an essential companion for network administrators, software developers, and team leaders looking to become proficient with WMI.