You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched for my feature proposal and have not found a work-in-progress/duplicate/resolved/discarded issue.
This proposal is a completely new feature. If you want to suggest an improvement or an enhancement, please use this template.
Describe the new feature
By default, Update-PSResource does not uninstall previous versions. This can lead to many old versions existing.
There is an uninstall command that would work: Uninstall-PSResource. It accepts NuGet-style version ranges, enabling all prior versions to be easily removed. For example, Uninstall-PSResource -Name Microsoft.Graph -Version "(,2.25.0)", will remove all prior versions of Microsoft.Graph, assuming 2.25.0 is the current version.
Describe how this new feature could help users
This would help prevent many old versions of PowerShell modules from cluttering and slowing things down.
The text was updated successfully, but these errors were encountered:
Please confirm these before moving forward.
Describe the new feature
By default,
Update-PSResource
does not uninstall previous versions. This can lead to many old versions existing.There is an uninstall command that would work:
Uninstall-PSResource
. It accepts NuGet-style version ranges, enabling all prior versions to be easily removed. For example,Uninstall-PSResource -Name Microsoft.Graph -Version "(,2.25.0)"
, will remove all prior versions ofMicrosoft.Graph
, assuming2.25.0
is the current version.Describe how this new feature could help users
This would help prevent many old versions of PowerShell modules from cluttering and slowing things down.
The text was updated successfully, but these errors were encountered: