Installed DotNet versions

@echo off
reg query "HKLM\Software\Microsoft\NET Framework Setup\NDP" /s /v version | findstr /i version | sort /+26 /r
:: echo blank line
echo(
dotnet --list-runtimes 2>nul
pause

13850cookie-checkInstalled DotNet versions