February 5th, 2016

PowerTip: Update a PowerShell module

Doctor Scripto
Scripter

Summary: Learn how to update an installed Windows PowerShell module.

Hey, Scripting Guy! Question I used Install-Module to install a Windows PowerShell module, but how can I update it?

Hey, Scripting Guy! Answer Use the Update-Module cmdlet, for example:

Update-Module powershellise-preview

Here are a couple of other examples:

find-module *ise-preview | Update-Module Update-Module *ise-preview

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.