Chapter 3. PowerShell toolkit

This chapter covers

  • Using .NET with PowerShell
  • Using COM components
  • Optimizing use of WMI
  • ADSI and PowerShell

PowerShell, like all tools, can’t exist in isolation. Up to now, we’ve concentrated on PowerShell itself. We now turn our attention to other technologies we need in our toolkit to get the most out of PowerShell—.Net, COM, ADSI, and WMI. This may seem like a random collection of letters, but these technologies are essential to getting the most from PowerShell. These tools are the basis of our PowerShell toolkit, and will appear throughout our administrative work. I can’t think of an example that doesn’t involve at least one of them. Using the PowerShell cmdlets involves using .NET even if it’s somewhat ...

Get PowerShell in Practice now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.