We have gone through quite a lot in this chapter. Script blocks are an unusual programming construct at first, but fortunately, they are easy to master. Script blocks are only one of PowerShell's mechanisms for abstracting and reusing code, and you will learn the rest of them later in this book.
The next chapter will introduce functions and filters that are closely related to script blocks. Our ultimate goal is to master different code reuse techniques, and we will continue to pursue it in the next chapters by introducing aliases, providers, and script files. Those techniques are important, because they are the stepping stones to building complex scripts.