Convert PowerShell/PowerCLI to Workflow