So you’ve spent a great deal of time setting up all the schedules for an Azure Automation Runbook but now you have a new version that you want to test against all the parameters for the schedules of the existing released version.
You’ve already created and published the new Runbook but what a pain if you’ve got more than a few different schedules with different parameters for each one.
Here is a script that can be used to run tests for each of the existing schedules of the existing Runbook with their parameters and then link the schedules and their parameters to the new one.
The test results get displayed in a notepad file for you to review.
Tests don’t work? Leave the old Runbook schedules as they are and keep tweaking!