From the course: PowerShell: Scripting for Advanced Automation
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Understanding PowerShell workflows
From the course: PowerShell: Scripting for Advanced Automation
Understanding PowerShell workflows
- [Instructor] There is an advanced tool used for automating very large environments. As you apply the scripting concepts in this and other PowerShell courses, you're going to begin to see some limitations to the normal flow of a single PowerShell script. A PowerShell Workflow is a special kind of animal. It uses PowerShell syntax and many of the components that you already know as the front end of the automation process. Windows Workflow Foundation provides the back end to get jobs done that PowerShell maybe can't do on its own. One of the most significant added functionalities is the ability to run multiple tasks in parallel. If you have two tasks that do not depend on each other, you can push them both through at the same time. Similarly, if you have a function that runs on a series of objects, you can run multiple instances of the function at the same time on as many of those objects as your server processing threads can handle. This can speed things up quite a bit in an…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.