Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update PowerShell to 7.3 #7242

Closed
1 of 11 tasks
krokofant opened this issue Mar 6, 2023 · 2 comments
Closed
1 of 11 tasks

Update PowerShell to 7.3 #7242

krokofant opened this issue Mar 6, 2023 · 2 comments

Comments

@krokofant
Copy link

Tool name

PowerShell

Tool license

N/A

Add or update?

  • Add
  • Update

Desired version

7.3

Approximate size

No response

Brief description of tool

No response

URL for tool's homepage

No response

Provide a basic test case to validate the tool's functionality.

No response

Platforms where you need the tool

  • Azure DevOps
  • GitHub Actions

Runner images where you need the tool

  • Ubuntu 18.04
  • Ubuntu 20.04
  • Ubuntu 22.04
  • macOS 11
  • macOS 12
  • Windows Server 2019
  • Windows Server 2022

Can this tool be installed during the build?

No response

Tool installation time in runtime

No response

Are you willing to submit a PR?

No response

@krokofant
Copy link
Author

Currently there is no way to utilize the newer features of PowerShell 7.3 like $PSNativeCommandArgumentPassing. The 7.3 version did cause an unexpected issue (#6586) before so the version was downgraded.

Can it be installed again in a safer way? It would be great to start a discussion around this because at some point the need to update will increase and there needs to be an upgrade path.

@sergei-pyshnoi
Copy link
Contributor

Hello @krokofant . We do not plan to update PowerShell to version 7.3 for two reasons:

  1. PowerShell 7.3 have changes that can broke existing pipelines.
  2. During our policy we support only latest LTS version (for now it`s 7.2)

You can try installing a specific version of powershell in runtime if you need that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants