r/PowerShell • • 4d 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
31 Upvotes

17 comments sorted by

View all comments

Show parent comment

1

u/BlackV 4d ago

dont forget to properly handle elevation when doing that

1

u/positivemark 4d ago

Good note thanks, if you update to 0.4.0 it will now handle elevation on Windows, you just have to accept a UAC prompt. If you are already running your terminal as admin moves just work without UAC obviously. On MacOS/Linux it currently just prompts that you need to be running it via sudo to do a module move.

1

u/BlackV 3d ago

Nice