Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Export Multiple vRO Workflow Schemata
Get-vROWorkflow -Category 'PowervROTest' | ForEach-Object {
$Filename = "C:\vRO\Schemata\$($_.Name).png"
Export-vROWorkflowSchema -Id $_.Id -File $Filename
}
Directory: C:\vRO\Schemata
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a--- 07/09/2016 17:17 12006 Test01.png
-a--- 07/09/2016 17:17 12006 Test02.png
-a--- 07/09/2016 17:17 12006 Test03.png
-a--- 07/09/2016 17:17 12006 Test04.png
-a--- 07/09/2016 17:17 12006 Test05.png
-a--- 07/09/2016 17:17 41300 Test06.png
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment