Chapter 18. Creating PowerShell workflows

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

18.1. Workflow overview

Workflows are a type of PowerShell command, just as cmdlets and functions are types of commands. One of the easiest ways to understand workflows is to contrast them with their closest cousin: functions.

Functions are declared with the function keyword, as you’ve seen several times in earlier chapters; workflows are declared with the workflow keyword. ...

Get Learn PowerShell Toolmaking in a Month of Lunches 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.