Skip to content

Allow Update-PSResource to Uninstall Older Versions of Modules #1830

@CompactProducer

Description

@CompactProducer

Summary of the new feature / enhancement

On PowerShell Core, I want Update-PSResource to uninstall older versions of modules that are installed by using Install-PSResource.

Proposed technical implementation details (optional)

If a command line is to be added like -RemoveOlder or RemoveOldVersions, Update-PSResource will either install a newer version before removing an older version or remove an older version before installing a newer version.

Activity

SydneyhSmith

SydneyhSmith commented on Aug 6, 2025

@SydneyhSmith
Collaborator

Thanks, yes looks like a duplicate of those issues

microsoft-github-policy-service

microsoft-github-policy-service commented on Aug 8, 2025

@microsoft-github-policy-service
Contributor

This issue has been marked as duplicate and has not had any activity for 1 day. It will be closed for housekeeping purposes.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @o-l-a-v@SydneyhSmith@CompactProducer

        Issue actions

          Allow Update-PSResource to Uninstall Older Versions of Modules · Issue #1830 · PowerShell/PSResourceGet