PowerTip: Start Azure Automation Job from PowerShell


Summary: Use Azure PowerShell cmdlets to launch a remote Azure Automation job.

Hey, Scripting Guy! Question How can I trigger an Azure Automation job from a regular computer?

Hey, Scripting Guy! Answer 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

Comments (0)

Skip to main content