Maintain PowerShell modules in a easy way

So I hate to do updates, so I did create a PS module that will update all of your installed modules and then delete the old versions.

You can perform the following tasks with the module:

  • Update all installed modules on your system
  • Update specific module
  • Just delete all old versions of your installed modules
  • When the module are finished you can choose to import the module or not
  • You can choose to install missing modules if you have specified a module that are missing.

For more information go to the GitHub repo for this module.

This module works for Linux, Windows and macOS, you just need to run the parameter -Scope Currentuser on macOS and Linux system. The parameter -Scope Allusers only works in Windows.

You can install the module from PowerShell Gallery trough your PowerShell window with the following command:

PowerShell
Install-Module -Name MaintainModule -Scope AllUsers -Force

For more information see the following links

Posts created 5

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Related Posts

Begin typing your search term above and press enter to search. Press ESC to cancel.

Back To Top