Chapter 3. Advanced Techniques

This chapter provides information and commands concerning the following topics:

Working with pipelines

Running programs

Creating and running scripts

Registry modifications with PowerShell

Understanding quotes

Working with Pipelines

When you pipeline, you take the output of one cmdlet and use it in a subsequent cmdlet to perform another operation. This simple act ensures that you can string together very simple cmdlets into complex operations. Some of the reasons you may wish to pipeline include the following:

• You need to pass data from the output of one cmdlet to a subsequent cmdlet.

• You need to perform multiple actions on one or more Exchange objects without having to do so individually.

• You need ...

Get Exchange Server 2010 Portable Command Guide: MCTS 70-662 and MCITP 70-663 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.