Chapter 3. WMI in depth

 

This chapter covers
  • WMI structure
  • WMI cmdlets and accelerators
  • WMI Query Language
  • Discovering links between WMI classes

 

Windows Management Instrumentation, known as WMI to its friends, isn’t well understood by the majority of administrators. It appears to be a technology that’s difficult to use and that isn’t well documented, unless you want to go rummaging in the depths of TechNet and MSDN. Is this a fair assessment?

Until PowerShell appeared, this was my stance on WMI. I could make it work, but I didn’t really understand it and certainly didn’t feel I could get the best out of it. Code was difficult to produce and test in VBScript, using WMI interactively required a different set of tools with a cryptic syntax, ...

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.