Chapter 8. The PowerShell pipeline

This chapter covers

  • Using PowerShell’s pipeline mechanism
  • Working with parameter binding
  • Troubleshooting the pipeline

Okay, we’ll admit it: We’re big PowerShell fans. You probably could have guessed that, but you might not know exactly why. It’s the pipeline. Although not everyone realizes it, PowerShell is incredibly different from other command-line shells in any other operating system, or even in older versions of Windows, and that difference is due primarily to the pipeline. It’s easy to use PowerShell without knowing much about the pipeline, but mastering PowerShell requires you to master the pipeline. That’s what this chapter will help you do.

8.1. How the pipeline works

We started using the pipeline ...

Get PowerShell in Depth, Second 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.