February 2024
Beginner to intermediate
468 pages
11h 10m
English
Starting in this chapter, we’re going to look at how we can put the basic concepts we’ve learned together into scripts and tools that we can reuse, adapt, and distribute for others. In the coming chapters, we’re going to look at creating functions and script blocks, error handling and debugging, creating modules that allow us to distribute our code as tools, and finally, securing PowerShell. In this chapter, though, we’re going to start with the basics: turning a handful of cmdlets into a script.
We’ll start by discussing scripts in general and why we might want to write one. After that, we’ll take a quick look at where we can find PowerShell scripts online, and then we’ll ...
Read now
Unlock full access