I am getting the following error when trying to list .NET versions to try and uninstall:
The specified version is not valid: "".
I see another issue #200 being discussed, but I am wondering if mine is related to the previews and release candidates of .NET 6.
I have had issues getting VS 2022 working and ultimately decided to uninstall it. .NET 6 installs with VS 2022 (not separate) but the uninstall seems incomplete (as seen in the screenshot below.)

I have a couple of preview copies of .NET 6 as well as one instance of the release candidate. These should have been deleted with VS 2022. This lead me to the dotnet-core-uninstall utility in hopes of cleaning those versions out.