r/PowerShell • u/positivemark • 5d ago
Script Sharing PowerShell Module Manager
Inspired by the WPF version that u/karanikn shared the other day, I've just published a PowerShell Module Manager tool of my own:
It has cmdlets to aid in understanding which modules you have installed where, including when you have multiple versions, updating them and removing redundant old versions.
It also has a TUI, which you can open with Show-ModuleManager (or it's alias: modman) which allows you to explore, upgrade and prune your modules through a console UI. Because it's a TUI it's cross platform. It also supports PSRemoting so you can use it to manage modules on a remote machine.
Get it from the PSGallery:
Install-Module ModuleManager
View all comments
Show parent comment
3
u/positivemark 5d ago
Nothing wrong with using
Install-PSResourcebut it can only help you manage modules it installed. Machines can sometimes have modules that have come from PowerShellGet, PSResourceGet, or have been manually installed by just copying them into a module folder. This tool manages all of those.I agree those bullets sound similar, but one is "what modules do I have / what is the latest version" and the other is "what module versions do I have / where". But yeah there's an overlap, thanks for the nitpick.