I recently had a use case where I wanted to execute a vRealize Orchestrator Workflow by using REST API. There is some documentation available but not a lot of details on how to get and use variables, sdk-objects and bearer token for permission. Here is how I made the vRO REST API calls with PowerShell using vRealize Orchestrator built-into vRA. Steps: Permission: Need to get a Bearer Token from vRO to make REST API Call to execute Workflow.

Continue reading

PowerShell Code I like to create a Scheduled Task in vRealize Orchestrator to create RVTools files everyday. Here is a sample PowerShell script that could be used. The script is also on a 7 day rotation of files and automatically deletes old files. Start-Process -FilePath "C:\Program Files (x86)\Robware\RVTools\RVtools.exe" -ArgumentList '-s vCenter01.vCrocs.info -u administrator@vsphere.local -p "Enter RVTools encrypted Password between the double quotes" -c Exportall2xls -d "G:\RVTools\vCenter01"' -Wait Start-Process -FilePath "C:\Program Files (x86)\Robware\RVTools\RVtools.

Continue reading

Author's picture

Dale Hassinger

Sharing Content with the vCommunity and anyone else that finds my content interesting…

Lead Systems Engineer - SME

Dillsburg, PA