Open
Description
Summary of the new feature / enhancement
As a user/administrator I want to only keep the latest version of any module, so I don't accumulate many outdated versions on the systems that I manage.
Proposed technical implementation details (optional)
Functional implementation ideas
- Update-PsResource -KeepLatestOnly
- Uninstall-PsResource -KeepLatest
Technical idea
The GetHelper class could be used and expanded to implement a filter returning all modules except the latest version. With that, the proper uninstalls could be performed (option 2) after installing the newest version (option 1).