azureautomation/runbooks

Source Control defaults to PowerShell 5.1

LuckyLeo2008 opened this issue · 0 comments

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?