PowerTip: Uninstall Module with PowerShell 5


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

Comments (0)

Skip to main content