I installed "SharePointPnPPowerShell2016" module sometime back when I was doing some research around PnP PowerShell.
Today I was trying to install "SharePointPnPPowerShellOnline" and got an error message which says commands are already installed. Because I already have "SharePointPnPPowerShell2016" module which comes with similar commands I could not install "SharePointPnPPowerShellOnline".
So in order to remove this module, I ran "Remove-Module" and got below error.
Remove-Module : No modules were removed. Verify that the specification of modules to remove is correct and those modules exist in the runspace. At line:1 char:1 + Remove-Module SharePointPnPPowerShell2016 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ResourceUnavailable: (:) [Remove-Module], InvalidOperationException + FullyQualifiedErrorId : Modules_NoModulesRemoved,Microsoft.PowerShell.Commands.RemoveModuleCommand
When I was trying to see if a module is loaded or not I found out that "SharePointPnPPowerShell2016" is installed but not loaded.
See below screenshot for output for Get-Module and "Remove-Module" command.