Writing a Windows PowerShell Workflow
You can create a XAML workflow by adding activities exposed by Windows PowerShell assemblies to the Workflow designer in Visual Studio. The following Windows PowerShell assemblies expose workflow-enabled activities.
A XAML workflow must be packaged as a module if you want to provide help for the workflow. For information about modules, see Writing a Windows PowerShell Module.
The following topics describe how to create a Workflow by using Windows PowerShell activities.