I am in the process of writing multiple Graphical PowerShell runbooks in Azure Automation. Within each Graphical PS Runbook, I am either using custom cmdlets/functions that I created that I have imported into Azure Automation as a module or written using the Code Activity.
My issue is, once I add one of my custom cmdlets/function into the canvas and set all the parameters, if I upload an update of my custom module, I have to delete the activity in the canvas in order to update the activities parameters if I add or change the parameters within the cmdlet/function. If I have multiple Graphical PS Runbooks that use these functions, I will have to go into each one to make the modification which can be very tedious.
I thought about using the code activity instead and then referencing the cmdlet within the Activity Logic - however - I still have the same issue.
In Microsoft System Center Orchestrator, if I want to update a Run .Net script, I could modify multiple code activities by modifying the SQL database with a query.
My question is, is there a way to modify multiple activities in multiple Graphic Runbooks so that if I make updates to my custom module, I can easily update all the code activities or the parameters within a cmdlet inserted into a canvas directly.
Thanks