azureautomation / runbooks

Sample Automation runbooks
MIT License
150 stars 128 forks source link

Source Control defaults to PowerShell 5.1 #104

Open LuckyLeo2008 opened 11 months ago

LuckyLeo2008 commented 11 months ago

I have set up a source control integration to automatically pull runbooks from an Azure DevOps repository. However, any new runbooks default to PowerShell 5.1. Is there any way to set the runtime dynamically in the PowerShell code? Or set a default runtime for all new runbooks?

Separately, is there any effort to allow changing runtime after a runbook has been published?