Automation with PowerShell Workflows
  • Robert Lundsten

Automation with PowerShell Workflows

Did you know that PowerShell has Workflow capabilities? If not, you are not the only one. PowerShell Workflows are a more powerful way to do automation and is used for long-running processes that needs to survive restarts and may require persistence. Most of the times you can manage most with a simple script but in some cases you need a more advanced workflow engine. Best of all, it is free!


When is PowerShell Workflows a good idea?

  • Long-running activities.

  • Repeatable activities.

  • Frequently executed activities.

  • Running activities in parallel across one or more machines.

  • Interruptible activities that can be stopped and re-started.

Here are some workflow related functions / featues:

  • Workflow

  • Parallel

  • Foreach –parallel

  • Sequence

  • InlineScript

  • Checkpoint-workflow

  • Suspend-workflow


Onify is a perfect tool and interface for either running synchronous PowerShell scripts and/or asynchronous PowerShell workflows.


For more information about PowerShell workflows, please see the Microsoft docs.


 

+46-10-1388900

Stockholm, Sweden

  • Instagram
  • Twitter
  • Facebook
  • YouTube

©2020 by Onify AB