From the course: PowerShell: Scripting for Advanced Automation

Unlock the full course today

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

Understanding PowerShell workflows

Understanding PowerShell workflows

From the course: PowerShell: Scripting for Advanced Automation

Start my 1-month free trial

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…

Contents