Part 2: Scripting and Toolmaking
This part walks you through turning a set of cmdlets into a script, introduces functional programming, shows you how to turn scripts into modules, and how to share those modules with colleagues and others using GitHub and GitLab. It also includes a chapter on PowerShell security, so that you don’t inadvertently distribute code that is less secure than it could be.
This part has the following chapters:
- Chapter 8, Writing Our First Script – Turning Simple Cmdlets into Reusable Code
- Chapter 9, Don’t Repeat Yourself – Functions and Scriptblocks
- Chapter 10, Error Handling – Oh No! It’s Gone Wrong!
- Chapter 11, Creating Our First Module
- Chapter 12, Securing PowerShell