Skip to content

Feature Request: install-powershell.ps1: Being able to install latest servicing/LTS release and not just Current #15403

Closed

Description

Summary of the new feature/enhancement

install-powershell.ps1 offers the option of installing Current, preview or daily but not LTS. This would e.g. be useful to test the LTS version as well in CI as hosted agents like LTS are usually on the Current version.

Proposed technical implementation details (optional)

The metadata.json file is already used to determine the right version and already has the version of the last servicing/LTS release. The script is not elegant as it already has a switch for preview and daily, therefore adding a LTS switch would at least keep it consistent as we'd likely not want to break existing syntax.

Activity

  1. adityapatwardhan commented on May 25, 2021

    @adityapatwardhan
    Member

    Maintainers reviewed the issue and we think it is a good idea. Eventually we will be having more that one LTS releases so there would be some need to specify which version needs to be installed.

  2. bergmeister commented on Jun 3, 2021

    @bergmeister
    ContributorAuthor

    So are you saying that an -LTS switch would not be acceptable? To me it sounds like the current and lts switches should just install the latest lts or current 'flavour'. Anything that is not latest current or latest lts, a version switch could be offered instead where people can pin major and minor version?

  3. kilasuit commented on Jul 31, 2023

    @kilasuit
    Collaborator

    Hey Christoph Bergmeister (@bergmeister) I have been working on this as part of #19883 as hadn't seen this request whilst I was looking through the issues sorry. The PR for it is #19884 so hopefully should be merged soon :-)

    Only thing not in that PR is for the Servicing Release - if still wanted I can add that in too

  4. microsoft-github-policy-service commented on Feb 6, 2024

    @microsoft-github-policy-service
    Contributor

    This issue has not had any activity in 6 months, if there is no further activity in 7 days, the issue will be closed automatically.

    Activity in this case refers only to comments on the issue. If the issue is closed and you are the author, you can re-open the issue using the button below. Please add more information to be considered during retriage. If you are not the author but the issue is impacting you after it has been closed, please submit a new issue with updated details and a link to this issue and the original.

  5. kilasuit commented on Feb 15, 2024

    @kilasuit
    Collaborator

    This is still In-PR

    Christoph Bergmeister (@bergmeister) until that PR is merged you can make use of the version of it from my fork as per the code samples in this blog post of mine Installing PowerShell Side by Side for testing purposes to install specific versions too, though I'm gonna spend a little more time on this to give it more durability than it has right now as this hasn't yet been merged.

  6. microsoft-github-policy-service commented on Aug 14, 2024

    @microsoft-github-policy-service
    Contributor

    This issue has not had any activity in 6 months, if there is no further activity in 7 days, the issue will be closed automatically.

    Activity in this case refers only to comments on the issue. If the issue is closed and you are the author, you can re-open the issue using the button below. Please add more information to be considered during retriage. If you are not the author but the issue is impacting you after it has been closed, please submit a new issue with updated details and a link to this issue and the original.

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

Metadata

Metadata

Labels

In-PRIndicates that a PR is out for the issueIssue-Enhancementthe issue is more of a feature request than a bugResolution-No ActivityIssue has had no activity for 6 months or more

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions