azure-powershell icon indicating copy to clipboard operation
azure-powershell copied to clipboard

Inconsistency :: Start-AzureRmAutomationRunbook has -Wait parameter, but Start-AzureRmAutomationDscCompilationJob doesn't

Open pcgeek86 opened this issue 10 years ago • 5 comments

Issue

Start-AzureRmAutomationRunbook has -Wait parameter, but Start-AzureRmAutomationDscCompilationJob doesn't

Root Cause

Inconsistency between commands managing various job types in Azure Automation.

Expected Result

Consistency between commands in Azure Automation. Commands that invoke a background job should all share a somewhat similar interface. If -Wait is supported on one Start command, then it should be supported on other Start commands as well.

Cheers, Trevor Sullivan https://trevorsullivan.net https://twitter.com/pcgeek86

pcgeek86 avatar May 02 '16 20:05 pcgeek86

@jodoglevy @markcowl Any thoughts folks?

pcgeek86 avatar May 26 '16 17:05 pcgeek86

I don't disagree @pcgeek86, but this is currently low priority I think, because you can do the same waiting with a while loop. I will open a bug internally to track though.

JAL9302 avatar May 26 '16 18:05 JAL9302

@vrdmr @jodoglevy Was this issue resolved? If you do not plan to fix this, please close this issue.

maddieclayton avatar Mar 10 '18 00:03 maddieclayton

I'd really this functionality too. I wasted time researching this and writing a work around. I really like the -wait command.

Xergy avatar Jun 05 '18 22:06 Xergy

Won't fix

GaneshMSAzure avatar Oct 15 '19 22:10 GaneshMSAzure