15. PowerShell Programming

In This Chapter

• This chapter describes PowerShell as a programming language. In Chapter 16 “Using PowerShell,” we’ll put it to practical use.

• PowerShell has all the structures you’d expect in a modern programming language. (It should—it borrowed things from just about every language out there!)

• The PowerShell language has some really unusual tricks up its proverbial sleeve, especially in the ways it works with arrays. It also has built-in tools for matching, parsing, and substituting text using regular expression patterns.

• All PowerShell variables are .NET Framework objects, so there are methods and properties that you can manipulate on any variable. This chapter will get you started learning about many ...

Get Windows 7 and Vista Guide to Scripting, Automation, and Command Line Tools 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.