O'Reilly logo

Windows PowerShell Unleashed by Tyson Kopczynski

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required