How to uninstall the PowerShell Module?

To uninstall a PowerShell module use the Uninstall-Module command. The module should not be in use to uninstall it.

To force uninstall a module run

To uninstall all versions of a module, use option -AllVersions

If you need to keep a version and uninstall all other versions, run

Need help with Linux Server or WordPress? We can help!

Leave a Reply

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