PowerTip: Get a list of suspended Azure Automation jobs
Summary: Cloud and Datacenter Management MVP, Thomas Rayner, shows how get a list of all your suspended Azure Automation jobs.
I think I have an Azure Automation job that is getting suspended for running too long. How can I verify this?
You can use the
Get-AzureRmAutomationJob cmdlet and its
-Status flag to get this information. Here is an example:
Get-AzureRmAutomationJob -ResourceGroupName $ResourceGroupName -AutomationAccountName $AutomationAccountName -Status Suspended
You can also use other values like
Starting in that place.