O'Reilly logo

Pro Windows PowerShell by Hristo Deshev

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

4.6. Summary

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.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required