Barbara 9/19/2021

Update all PowerShell modules on a system

Read Original

This article provides a PowerShell script and guide to automatically update all installed PowerShell modules from the PowerShell Gallery. It checks for new versions, installs updates, and removes old versions, with configurable parameters to exclude specific modules, skip major version updates, or keep old versions. It also discusses how to run the script manually or automate it via scheduled tasks or Azure Automation.

Update all PowerShell modules on a system

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week