PowerShell 7.1 runbook support in Azure Automation available in public preview
Publiseringsdato: 03 november, 2021
Azure Automation support for PowerShell 7.1 runbooks is available as public preview in Azure public, Azure Gov, and Azure China clouds. This enables developing and executing runbooks for infrastructure and operational automation scenarios using PowerShell 7.1 as cloud jobs as well as hybrid jobs across Azure and non-Azure machines.
We have introduced the concept of Runtime Version with PowerShell 7.1. The PowerShell version is determined by the property Runtime Version, 7.1 or 5.1. Azure Automation service will support the latest PowerShell runtime as the new PowerShell versions will get released.
The same Azure sandbox and Hybrid Runbook Worker can execute PowerShell 5.1 and PowerShell 7.1 runbooks side by side. At the time of runbook execution, if you select Runtime Version as 7.1 (preview), PowerShell modules targeting 7.1 runtime version is used and if you select Runtime Version as 5.1, PowerShell modules targeting 5.1 runtime version are used.
With the inclusion of the Runtime version property and to simplify the user experince while working with runbooks and modules, you will see an updated flow for Runbook creation, Import Runbook, and Add\import a module blade in the Azure portal.
Learn more about PowerShell 7.1 runbooks & Manage Runbooks . Try out the new features and share your experience.
Visit Ideas platform to vote for existing requests or create a new request.
Go to Microsoft Q&A to ask technical questions or roadmap related queries.
Just getting started with Azure Automation? Learn about the service and follow Azure Automation on Twitter.