Remove-OldModule Uninstalls all of the old versions of a specified module, keeps the most recent version of the module. Must be run as admin. Getting Started Clone or download the repo. Prerequisites None. Examples Remove-OldModule -Module dbatools Removes the old version(s) of the dbatools module.