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

2

u/positivemark 4d ago

That's a great idea, I will steal :)

1

u/karanikn 4d ago

Add also status of update process :)
% installed / updated. I tried and I thought stack

1

u/positivemark 3d ago

The titlebar in modman now shows this:

ModuleManager 234 modules | 54 updates | 76% latest | view: All | sort: Name

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