I’m a newbie to PowerShell and loving it! I started with the dbatools module, but have run into an issue trying to uninstall.

I’m trying to uninstall the module, but it keeps failing. The error message states that “no match was found for specified module”, but I noticed it is showing a path where the module isn’t located. It is showing in the PowershellGet folder, but this wasn’t imported form PS Gallery and I am guessing this is why it can’t find it. How in the world do I uninstall this module?
Just to clarify I downloaded from the original website and loaded after that so I guess that is why it is located in a different path.
Any clarification would be greatly appreciated!

Hmmm … why are you trying so hard to uninstall it? If you don’t like to use it anymore - don’t use it anymore. :wink: If you want to see more information about all installed modules you can use:

Get-InstalledModule | Select-Object -Property *
There you should see the property “InstalledLocation”.

I actually just figured it out. I simply deleted the folder where it was.
It’s not that I don’t like it, but due to original way I installed it wasn’t letting me update it.

Now I re-installed and have latest version.