Formal parameters and the param statement
Returning values from functions
Using functions in a pipeline
Scripts at long last
And now for something completely different...
Porcupine quills. We’ve always done it with porcupine quills
Seven chapters in and no scripts? Okay—fine—here you go:
As you will have astutely observed from the title, in this chapter we finally get into writing PowerShell scripts in all their myriad forms. As mentioned in chapter 2, functions and scripts are two of the four types of PowerShell commands (the others are cmdlets and external commands). Prior programming experience ...