azureautomation / runbooks

Sample Automation runbooks
MIT License
156 stars 129 forks source link

Source Control defaults to PowerShell 5.1 #104

Open LuckyLeo2008 opened 1 year ago

LuckyLeo2008 commented 1 year 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?