Part 2. WMI in the enterprise

This is where the fun starts. You’ve learned how to use PowerShell and WMI in part 1 of the book. In this second part, we’ll concentrate on solving administrative problems using PowerShell scripts. Lots and lots of scripts.

WMI has been traditionally been used to gather information about computer systems. This where we’ll start with chapter 5, looking at system hardware, peripherals, the operating system, and installed software. Chapter 6 extends this theme by examining the storage systems attached to our computers. We’ll look at performing actions such as defragmentation as well as discovering the disk configuration.

Chapters 7 and 8 examine the registry and filesystem respectively. The management of these two ...

Get PowerShell and 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.