Building with Script Blocks
This month we’re going to dive deeper into PowerShell functions. A reader asked for more content on this topic, and I am happy to oblige. But rather than merely telling you what to type, I want to provide a deeper understanding of how PowerShell functions work and why you should use them. Any discussion of functions needs to begin with a foundation. The building blocks of a function are script blocks. What is a script block? What are their limitations? How do I use them? These are a few of the questions we’ll look at today.
What Is It?
Want to read the full issue?