Summary

This chapter has reviewed techniques and tools that can aid in the development and deployment of WMI scripts. It opened with a discussion of Windows Scripting Host facilities that can help in writing robust, reusable scripts. It then moved on to consider some common bugs that beset WMI scripters, and suggested how some of these can be avoided or fixed. Within this discussion, a special section was devoted to techniques for handling errors in function libraries. This chapter ended by suggesting various tricks and techniques that you can use to deploy and execute scripts on a fleet of Windows 2000 machines in a real-world environment.

Get Windows Management Instrumentation (WMI) 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.