CHAPTER 4

Aliases, Functions, and the Pipe, Oh My!

IN THIS CHAPTER, YOU WILL LEARN TO:

image Use Aliases 66
Use Built-in Aliases 67
Create Your Own Aliases 69
image Use Functions 77
Understand Functions 78
Use Existing Functions 79
Create Your Own Function 80
image Work with the Pipe Operator 81
Use the Pipe Operator to Combine PowerShell Cmdlets 81
Control PowerShell Output 82

This chapter covers three important tools to add your own style ...

Get Automating Microsoft® Windows Server® 2008 R2 with Windows PowerShell® 2.0 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.