Chapter 3 The PowerShell Pipeline

Welcome to Chapter 3 of Learning PowerShell. In this chapter, I am going to show you one of the most important features of PowerShell, which is the ability to chain commands together to accomplish some really big task. This is one of the most valuable things you can learn about PowerShell and, with this tool in hand, you can manage to accomplish a lot of menial tasks with just a little work. Without further ado, let’s get started.

Introducing the Pipeline

The pipeline in PowerShell is essentially how you glue stuff together in your scripting—or, more specifically, how you take the output or results from one PowerShell command and send it into another for further processing. The process of using the pipeline is ...

Get Learning PowerShell 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.