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