Chapter 5. Scripting language crash course

We don’t typically enjoy presenting material up front that you won’t put to use right away. In this case, though, we’re going to make an exception. You’ll be writing scripts in this book, and that means including a certain amount of code. PowerShell’s scripting language is super-simple, containing under two dozen actual keywords, and we’re only going to use about a dozen in this book. But we need to get the most important of those into your head so that we can use them at will when the time comes. Our goal in this chapter is not to provide complete coverage of these items but to give you a quick introduction. When you see them in use throughout the rest of the book, they’ll begin to make more sense. ...

Get Learn PowerShell Scripting in a Month of Lunches 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.