Chapter 3. The Object Pipeline

The primary use for a shell is to run commands. The shell interprets user input and launches one or more commands according to that. A user who wants to specify a complex action to perform has to invoke the right commands in the right order with the right data. Because creating a complex command that does many things and is flexible enough to meet everyone's needs is difficult, most shells move away from monolithic do-it-all commands and instead concentrate on providing small tools that can combine their power into something big. Each of those tools usually does one specific job extremely well. For example, a hypothetical command that searches through all files with the .txt extension in a project folder and displays ...

Get Pro Windows 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.