3

Exploring Compatibility with Windows PowerShell

In this chapter, we cover the following recipes:

  • Exploring compatibility with Windows PowerShell
  • Using the Windows PowerShell compatibility solution
  • Exploring compatibility solution limitations
  • Exploring the module deny list
  • Importing format XML
  • Leveraging compatibility

Introduction

Microsoft built Windows PowerShell to work with Microsoft's .NET Framework. You can think of PowerShell as a layer on top of .NET. When you use Get-ChildItem to return file or folder details, the cmdlet invokes a .NET class to do much of the heavy lifting involved. In Chapter 5, Exploring .NET, you learn more about .NET.

As Windows PowerShell evolved, each new version took advantage of improvements in newer versions ...

Get Windows Server Automation with PowerShell Cookbook - Fourth Edition 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.