Determine .NET Framework Version One-Liner

Sometimes you need to know the version of the installed .NET Framework version quickly.

Use the following PowerShell one-liner:

(Get-ItemProperty -Path 'HKLM:SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full' ).Release
DWORD ValueVersion
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

%d Bloggern gefällt das: