Get ‘Pamaters’ used for Azure Automation Account Schedules

Hi, I’m having difficulty getting the ‘Parameters’ used for each of our Azure Automation Account Scheduled tasks (Runbooks). The code below will get the scheduled tasks and the resource groups associated, but we are needing the Parameters that are set within each schedule. The reason for this, is because each task has different VMs associated with them, and we have 100s of them.

Get-AzureRmAutomationSchedule -ResourceGroupName Automation -AutomationAccountName SubscriptionAutomation | Export-Csv C:TempAutomationSchedules.csv

Any help would be great.

submitted by /u/Mskews
[link] [comments]

Leave a Reply