简单的工作流示例

workflow DoSomeWork {
  Get-Process -Name notepad | Stop-Process 
}

这是 PowerShell 工作流定义的基本示例。