About Newsroom
Monday, November 30, 2026 Today’s Paper
Primary-Sourced Edition About & sourcing →

Hacker News

PowerShell ModuleManager adds controls for finding older module versions

Latest updates add terminal views and estimates of space that old module versions could free.

PowerShell developer Mark Wragg has updated ModuleManager, his tool for inspecting and maintaining installed PowerShell modules, with new ways to open its terminal interface and estimate the space occupied by older versions. In a Bluesky post, Wragg demonstrated opening the interface directly on modules with multiple versions. [1][2]

The project already existed before these updates. Version 0.12.0 was released November 24, followed later that day by 0.13.0; the latter added the space estimates. Fediwire reviewed the release notes and source code but did not run the tool. [2][3][4]

Finding duplicate versions

ModuleManager lists installed versions and locations, checks for updates and provides commands and a terminal interface for maintenance. Version 0.12.0 lets users choose an initial view, sort order and grouping when they open the interface. It also adds filters for names or descriptions and a scope filter for locations such as CurrentUser and AllUsers. [2][4]

Wragg’s example opens the multiple-versions view sorted by version count with families ungrouped. A later release added a different sort: estimated space that old versions could free. [1][2][3]

Estimating space before removal

Version 0.13.0 adds a reclaimable-space column to the multiple-versions view when the terminal is at least 100 characters wide. It also adds size information to a command-line inventory and shows estimated savings in a WhatIf preview of old-version removal. Those are estimates of the tool’s selected removal candidates, not a guarantee that every older version is safe to delete. [3][5]

The project says its default old-version selection keeps the newest version and excludes PowerShell’s built-in versions, versions loaded in the current session and versions needed by other installed modules. Those checks cannot establish whether a separate script or workflow depends on an older version. The uninstall command also offers a Force option that can override protections for loaded or required modules. [3][5][6]

Choosing what to change

Cleanup is an action a user selects, not a consequence of opening the inventory. The uninstall command can remove manually copied modules as well as those installed by PowerShell’s package managers. With its OldVersions option and no module name, its documented default is to consider all modules; WhatIf previews the operation without making changes. The terminal interface also offers a WhatIf mode. [4][6][7]

The project specifies PowerShell 5.1 or newer, uses PSResourceGet when available and falls back to PowerShellGet. It describes the terminal interface as cross-platform; some changes to all-users installations can require an elevated session. [4]

Beyond the headline

The conversation

Bluesky
“You can now pass in UI config when you run it, for example, see your most duplicated modules with:”

Wragg’s example opens the multiple-versions view sorted by version count; the later 0.13 release adds a separate estimated-space sort.

Read on Wildroot
Read more on this topicExplore on Wildroot

Sources & documents

Follow the numbered references to the reporting and original records.

  1. Mark Wragg original postbsky.app
  2. ModuleManager version 0.12.0 releasegithub.com
  3. ModuleManager version 0.13.0 releasegithub.com
  4. Project READMEgithub.com
  5. Inventory implementationgithub.com
  6. Uninstall implementationgithub.com
  7. Terminal interface implementationgithub.com