>>107032094
Oh fuck it's worse than I thought
"winget show" does not display info of installed apps at all, it merely displays most relevant search result from all stores and repos, that may or may not match full name of an installed package.
"Get-AppXPackage" cannot display store package IDs of installed packages.
But there still is a way to get IDs. They are cached in the fucking registry.
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\InstallService\State\CategoryCache