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

BartDecker-8243 175 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.
1,120 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,068 questions
{count} votes

Accepted answer
  1. SwathiDhanwada-MSFT 17,556 Reputation points
    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