Powershell runtime version support for runbooks - some confusion - not 7.1 but 5.1 supported

BartDecker-8243 185 Reputation points
2024-02-29T07:44:09.97+00:00

I wondered why runtime version 7.1 for powershell runbooks isn't supported but runtime version 5.1 is supported?

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
Windows for business | Windows Server | User experience | PowerShell
{count} votes

Answer accepted by question author
  1. SwathiDhanwada-MSFT 19,073 Reputation points Moderator
    2024-02-29T11:11:31.74+00:00

    @BartDecker-8243 Summarizing the discussion for benefit of community.

    Supported versions of PowerShell within Azure Automation PowerShell 7.2 (GA) and PowerShell 5.1 (GA). Since PowerShell 7.1 is no longer supported by parent product PowerShell, we recommend you create runbooks in long term supported version PowerShell 7.2.

    why 5.1 is still supported when 7.1 is already not supported. Windows PowerShell 5.1 is a component of the Windows operating system. Components receive the same support as their parent product or platform. PowerShell 5.1 is supported as a part of each OS it is a component of, so it's EOL is whatever that EOL is for the underlying OS that it is running on.

    Kindly "Accept as Answer" if the provided solution is helpful.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.