Chapter 2. Using PowerShell

 

This chapter covers
  • PowerShell cmdlets
  • PowerShell and .NET
  • PowerShell scripting language
  • Creating PowerShell code for reuse

 

You saw in chapter 1 that automation is the key to reducing pressure on Windows administrators and that it will also reduce the cost of managing IT environments. PowerShell is my preferred automation platform because it’s available across the Windows environment, it’s built into major Microsoft applications, and it’s being adopted by an increasing number of third-party vendors. It’s also the most powerful shell and scripting language available on the Windows platform, as it can leverage the .NET Framework.

In this chapter, we’ll turn our attention to PowerShell. We’ll focus on WMI in ...

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.