Chapter 17. You call this scripting?

So far, you could have accomplished everything in this book using PowerShell’s command-line interface. You haven’t had to write a single script. That’s a big deal for me, because I see a lot of administrators initially shy away from scripting, (rightly) perceiving it as a kind of programming, and (correctly) feeling that learning it can sometimes take more time than it’s worth. Hopefully, you’ve seen how much you can accomplish in PowerShell without having to become a programmer.

But at this point, you may also be starting to feel that constantly retyping the same commands, over and over, is going to become pretty tedious. You’re right, so in this chapter we’re going to dive into PowerShell scripting—but ...

Get Learn Windows PowerShell in a Month of Lunches now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.