Chapter 12. Windows objects: COM and WMI

12.1

Working with COM in PowerShell

393

12.2

Working with WMI in PowerShell

421

12.3

So which object model should I choose?

437

12.4

Summary

437

 

A horse! A horse! My kingdom for a horse!

 
 --William Shakespeare The Life and Death of King Richard III
 

A horse is a horse of course of course

And no one can talk to a horse, of course

That is, of course, unless the horse is the famous Mister Ed!

 
 --The Mr. Ed TV Show

At the end of Shakespeare’s Richard III, King Richard stands upon a plain, surrounded by foes, crying out for the one thing that he needs to continue on. Sort of like a sysadmin. Okay, perhaps not exactly like that, but at times, we do feel set upon from all sides, crying desperately for something to help us solve ...

Get Windows PowerShell in Action 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.