December 22nd, 2015

PowerTip: Uninstall Module with PowerShell 5

Doctor Scripto
Scripter

Summary: Learn how to uninstall a Windows PowerShell module.

Hey, Scripting Guy! Question How can I easily uninstall a Windows PowerShell module?

Hey, Scripting Guy! Answer Use the Uninstall-Module cmdlet to remove anything discovered by using Find-Module. For example,
           to permanently remove the LocalAccount module, use:

Uninstall-Module LocalAccount

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.

Feedback