Skip to content

Instantly share code, notes, and snippets.

@trondhindenes
Created October 19, 2015 17:51
Show Gist options
  • Save trondhindenes/89940345aa8670c30217 to your computer and use it in GitHub Desktop.
Save trondhindenes/89940345aa8670c30217 to your computer and use it in GitHub Desktop.
Login-AzureRmAccount -Credential $Creds
$Params = @{"Param1" = "Value1";"Param2" = "Value2"}
$job = Start-AzureRmAutomationRunbook -Name $Name -ResourceGroupName $ResourceGroupName -AutomationAccountName $AutomationAccountName -Parameters @params
Error:
"Start-AzureRmAutomationRunbook : Missing an argument for parameter 'Parameters'. Specify a parameter of type 'System.Collections.I
Dictionary' and try again."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment