Update-management pre/post scripts: Unable to see/select powershell 7.1 runbooks

David Walker 0 Reputation points

I migrated my runbooks to managed identities and powershell 7.1 (preview) and they are working, but when i edit a deployment schedule in order to add them to the pre/post script configuration section, my only options are the powershell 5.1 runbooks. none of the powershell 7.1 runbooks are shown. are only powershell 5.1 runbooks supported for pre/post scripts in a deployment schedule?

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
751 questions
Update management center
{count} votes

1 answer

Sort by: Most helpful
  1. Stanislav Zhelyazkov 15,266 Reputation points MVP

    Azure Update Management does not support PS 7.1 runbooks. PS 7.1 is still in preview. In fact in certain regions there is now PS 7.2 which is also in preview. PS 7.2 will be the version that will be made GA some time in the future. May be after GA PS 7.2 will be an option for Azure Update Management but it is unclear as there is also Update Center which is supposed to replace Azure Update Management when it reaches parity with it.

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.