Skip to content

Instantly share code, notes, and snippets.

@jonathanmedd
Created August 10, 2016 15:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonathanmedd/a44693753e568cff87d3975a3194af0e to your computer and use it in GitHub Desktop.
Save jonathanmedd/a44693753e568cff87d3975a3194af0e to your computer and use it in GitHub Desktop.
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