Summary: Use Azure PowerShell cmdlets to launch a remote Azure Automation job.
How can I trigger an Azure Automation job from a regular computer?
Use the Start-AzureAutomationRunbook cmdlet. For example, to trigger the runbook called
HSG-StopAzureVM that is attached to the HSG-AzureAutomation instance, run:
Start-AzureAutomationRunbook -Name HSG-ShutdownAzureVM -AutomationAccountName HSG-AzureAutomation
0 comments