Skip to content

PowerShell cmdlet(similar to packagemanagement) for Upgrading pwsh  #6080

Closed

Description

Steve Lee (@SteveL-MSFT) : Just had a though, Why can't we have a PowerShell cmdlet (Update-PowerShell) which will update pwsh to the latest available release.

Activity

  1. changed the title [-]PowerShell cmdlet for Upgrading pwsh similar to packagemanagement[/-] [+]PowerShell cmdlet(similar to packagemanagement) for Upgrading pwsh [/+] on Jan 31, 2018
  2. SteveL-MSFT commented on Jan 31, 2018

    @SteveL-MSFT
    Member

    Can't find the issue, but we had discussed this previously. Where we landed is that it would be ideal to have a PackageManagement Provider so that you can run install-package powershell and get the latest version. It's simply a priority and resource problem. It seems ok to update via the msi on Windows and on Linux we already support updates via apt/yum and on macOS it's published to HomeBrew.

  3. added
    Issue-Discussionthe issue may not have a clear classification yet. The issue may generate an RFC or may be reclassif
    on Jan 31, 2018
  4. SwarfegaGit commented on Feb 1, 2018

    @SwarfegaGit

    On the topic of updating. One annoyance on Windows is that each time I upgrade I have to repin PowerShell to my Start Menu and Taskbar. This is caused by the fact the default installation path includes the version number. E.G...

    • C:\Program Files\PowerShell\6.0.0-alpha.18
    • C:\Program Files\PowerShell\6.0.0-beta.8
    • C:\Program Files\PowerShell\6.0.0-rc.2
    • C:\Program Files\PowerShell\6.0.0
    • C:\Program Files\PowerShell\6.0.1

    etc

  5. kvprasoon commented on Feb 1, 2018

    @kvprasoon
    ContributorAuthor

    My vote for the above issue

  6. SteveL-MSFT commented on Feb 1, 2018

    @SteveL-MSFT
    Member

    Andrew Palmer (@SwarfegaGit) can you open a new issue for that?

  7. iSazonov commented on Feb 2, 2018

    @iSazonov
    Collaborator

    Related comment about the default installation path.

  8. doctordns commented on Jan 17, 2019

    @doctordns
    Collaborator

    As noted in my issue post - this should just be simpler. I should not have to go to GitHub, select the correct file out of a bunch, download it, then run it and re-pin all the shortcuts.

    For developers, this workflow may be great - but you can make a lot simpler.

    I'd like a fully supported, in the box Update-PowerShell cmdlet.

  9. iSazonov commented on Jan 17, 2019

    @iSazonov
    Collaborator

    Feel free to discuss in #8663

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Discussionthe issue may not have a clear classification yet. The issue may generate an RFC or may be reclassifResolution-DuplicateThe issue is a duplicate.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions