2

Introducing PowerShell 7

This chapter covers the following recipes:

  • Exploring new operators
  • Exploring parallel processing with ForEach-Object
  • Exploring Improvements in Foreach and ForEach-Object
  • Improvements in Test-Connection
  • Using Select-String
  • Exploring the error view and Get-Error
  • Exploring experimental features

Introduction

In Chapter 1, Installing and Configuring PowerShell 7.1, you installed and configured PowerShell 7, along with VS Code and a new font. In this chapter, we look at PowerShell 7 and how it differs from Windows PowerShell. The recipes in this chapter illustrate some of the important new features that come with PowerShell 7.

Now that PowerShell is cross-platform, it has a new, expanded audience, one with a background ...

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.