Chapter 2. Foundations of PowerShell

2.1 Getting a sense of the PowerShell language
2.2 The core concepts
2.3 Aliases and elastic syntax
2.4 Parsing and PowerShell
2.5 How the pipeline works
2.6 Formatting and output
2.7 Summary

“Begin at the beginning,” the king said “and then go on till you come to the end, then stop.”

Lewis Carroll, Alice in Wonderland

Vizzini: Inconceivable!

Inigo: You keep on using that word. I do not think it means what you think it means.

William Goldman, The Princess Bride

This chapter introduces the foundational concepts underlying the PowerShell language and its environment. We’ll cover language details that are specific to PowerShell and look at how the interpreter parses the commands we type. This chapter ...

Get Windows PowerShell in Action, 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.