Chapter 23. PowerShell workflows

This chapter covers

  • Defining a workflow and learning when to use it
  • Understanding workflow syntax
  • Running a workflow
  • Troubleshooting a workflow

Workflows are an important new feature that was introduced in PowerShell v3. They’re an incredibly rich, complex technology that we can’t possibly cover comprehensively in this chapter—they deserve their own book. But they are a type of tool you can create and make great use of, which is why we want to include this chapter as an introduction to them.

We view workflows as a hardcore programming topic, and that’s another reason we won’t try to give them full coverage in this chapter. Instead, we’re going to skim them lightly, showing you enough to create a basic ...

Get PowerShell in Depth, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.