Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
This book is composed of two parts. Part 1 is a comprehensive tour of the PowerShell language and runtime. The goal is to introduce new PowerShell users to the language as well as provide experienced users with deep insight into how and why things are the way they are. Part 2 focuses on larger examples that bring the individual features together to build larger applications.
In part 1, we’ll look at all aspects of the PowerShell language, including the syntax and the type system. Along the way, we’ll present examples showing how each feature works. Since the goal of this part of the book is to focus on the individual features of the environment, most examples are quite small and are intended to be entered in an interactive session.
Chapter 1 begins with history and rationale for why PowerShell was created. It then proceeds through a tour of the features of the environment. The remaining chapters in part 1 touch on each element of the language, starting with the basic concepts (chapter 2), then continuing through types (chapter 3), operators and expressions (chapters 4 and 5), language constructs such as flow control statements (chapter 6), and functions and scripts (chapter 7). Chapter 8 covers advanced programming techniques and constructing objects, and chapter 9 covers PowerShell features for handling errors and debugging scripts.