Skip to content

Add support for Microsoft Update parameters to install-powershell.ps1 #24623

Closed as not planned

Description

@cavaliersa

Summary of the new feature / enhancement

Support was added for Microsoft/Automatic Updates with PowerShell 7.2, add support for this to the install-powershell.ps1 script.
https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.4#support-for-microsoft-update-in-powershell-72-and-newer

Proposed technical implementation details (optional)

No response

Activity

  1. added
    Issue-Enhancementthe issue is more of a feature request than a bug
    Needs-TriageThe issue is new and needs to be triaged by a work group.
    on Nov 28, 2024
  2. StevenBucher98 commented on Dec 1, 2024

    @StevenBucher98
    Collaborator

    Hi Chris (@cavaliersa) thanks for the issue! Can you please add more details for your scenario that you need this for? I am also unsure which file or command you are talking about when you say install-powershell.ps1?

  3. added
    Waiting on AuthorThe PR was reviewed and requires changes or comments from the author before being accept
    and removed
    Needs-TriageThe issue is new and needs to be triaged by a work group.
    on Dec 1, 2024
  4. kilasuit commented on Dec 1, 2024

    @kilasuit
    Collaborator

    Steven Bucher (@StevenBucher98) it is this file that they are mentioning.

    I have previous PR's to this, including #19884 but it seems this isn't wanted to be kept maintained even though there are people using this, I'd be happy to add the MU options into that PR too btw.

  5. cavaliersa commented on Dec 2, 2024

    @cavaliersa
    Author

    Steven Bucher (@StevenBucher98), it is the file Ryan Yates (@kilasuit) mentioned.

    This is needed for installing PowerShell 7 and later in new environment deployments. On desktop-grade Windows, this can be achieved quickly enough using winget, but it isn't available for Windows Server.

  6. microsoft-github-policy-service commented on May 31, 2025

    @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

Assignees

No one assigned

    Labels

    Issue-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