I feel like I’m missing something obvious, so I’ve come here instead of creating a GitHub FR. How do I remove previously installed modules from PowerShell Universal from all environments?. I’ve been running the free community edition in Docker for about two years. Over that time I have a number of different versions of PowerShell modules. I want to get rid of the old ones. It’s super easy to grab the new versions, but I can’t find a way to uninstall the old versions of the modules, except from the Local < “PowerShell Universal Modules” section of the Modules page. There’s a delete button there that I used, but the modules still exist in all the other Local environments, like “Integrated”, “Agent”, “7.3.9”, and “PowerShell 7”. How do I remove modules from these sections?
I would try running the uninstall commands on my host, but I’m running in docker and don’t have easy shell access to the container.
Any info or help would be much appreciated!