Sometimes you need to know the version of the installed .NET Framework version quickly.
Simply use the following PowerShell one-liner:
(Get-ItemProperty -Path 'HKLM:SOFTWAREMicrosoftNET Framework SetupNDPv4Full' ).Release
DWORD Value | Version |
---|---|
378389 | .NET Framework 4.5 |
378675 | .NET Framework 4.5.1 installed with Windows 8.1 or Windows Server 2012 R2 |
378758 | .NET Framework 4.5.1 installed on Windows 8, Windows 7 SP1, or Windows Vista SP2 |
379893 | .NET Framework 4.5.2 |
On Windows 10: 393295 All other OS: 393297 |
.NET Framework 4.6 |
On Windows 10 November Update: 394254 All other OS: 394271 |
.NET Framework 4.6.1 |
On Windows 10 Insider Build 14295: 394747 All other OS: 394748 |
.NET Framework 4.6.2 Preview |
Enjoy!
Links