Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Start Azure Automation Job from PowerShell

$
0
0

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


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>