Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Invoke a Workflow with multiple Parameters
$Params = @()
$Param1 = New-vROParameterDefinition -Name a -Value Apple -Type String -Scope LOCAL
$Param2 = New-vROParameterDefinition -Name b -Value 10 -Type Number -Scope LOCAL
$Param1,$Param2 | ForEach-Object {$Params += $_}
Get-vROWorkflow -Name Test03 | Invoke-vROWorkflow -Parameters $Params
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment