I think there is a bug in 5.0.10, maybe earlier version as well.
After I made a discovery of installed powershell 7, I created a test API which pointed to the pwsh env, which called “Powershell Installed”, then I renamed the env to “Powershell 7 Installed”.
I suspected the API hardcoded to the name, not some id.
Product: PowerShell Universal
Version: 5.0.10