This chapter covers
Porcupine quills. We’ve always done it with porcupine quills.
In this chapter we’ll begin looking at how to create reusable commands by combining the features from the previous chapters. Functions and scripts are the two command types that can be written in the PowerShell language. (Cmdlets and external commands are written in a language such as C# that can be compiled.) We’ll start with functions because they’re simpler. In the next chapter, we’ll cover scripts as well as introduce advanced programming features available to both functions and scripts.