From the course: PowerShell: Functions for Advanced Automation

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Characteristics of a controller script

Characteristics of a controller script

From the course: PowerShell: Functions for Advanced Automation

Start my 1-month free trial

Characteristics of a controller script

- [Instructor] By this point, you've probably created and saved several PowerShell functions, some related to each other, some maybe not so much. But hopefully, you've saved them in PowerShell modules so that you can easily access them whenever you need them. If you would benefit from a refresher on how to do this, you could check out my course on Automating Administration with PowerShell where we walk through the entire process. Now having a nice library of functions is one thing, putting them to use can be quite another. This is where controller scripts come in. In the simplest of definitions, controller scripts are the scripts that call your various functions from their several different modules and put them to work. Say for example, you have functions written specifically for your active directory environment, maybe you've taken the name of your domain or other specific details and built them right into the code. Maybe you've built some policy-specific information into how users…

Contents