Chapter 8. PowerShell and WMI
IN THIS CHAPTER
Introduction
This chapter shows how to use PowerShell to manage systems with Windows Management Instrumentation (WMI) and compares the methods Windows Script Host (WSH) and PowerShell use for WMI tasks. You also examine some scripting examples that use WSH to perform WMI tasks and then see how PowerShell can be used for those tasks. Finally, you look at an example of converting a VBScript script to PowerShell to perform an automation task by using WMI. The goal is to give the reader a chance to learn how PowerShell scripting techniques can be applied to complete real-world automation needs.
Comparing WMI Usage Between ...
Get Windows PowerShell Unleashed 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.