Instantly share code, notes, and snippets.

Embed
What would you like to do?
Invoke-AzureRmVMRunCommand -ResourceGroupName '<myResourceGroup>' -Name '<myVMName>' -CommandId 'RunPowerShellScript' -ScriptPath '<pathToScript>' -Parameter @{"arg1" = "var1";"arg2" = "var2"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment