CMDLET:
Get-ItemProperty -Path “HKLM:SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full” | Format-List Release
https://msdn.microsoft.com/en-us/library/hh925568(v=vs.110).aspx
- On the Start menu, choose Run.
- In the Open box, enter regedit.exe.You must have administrative credentials to run regedit.exe.
- In the Registry Editor, open the following subkey:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\FullNote that the path to the Full subkey includes the subkey Net Framework rather than .NET Framework.
NoteIf the Full subkey is not present, then you do not have the .NET Framework 4.5 or later installed.Check for a DWORD value named Release. The existence of the Release DWORD indicates that the .NET Framework 4.5 or newer has been installed on that computer.
- The value of the
ReleaseDWORD indicates which version of the .NET Framework is installed.ImportantThe following table lists the keys of released versions of the .NET Framework only. It doesn't list the keys of preview or pre-release versions.
|
Value of the
Release DWORD
|
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 systems
only: 393295
On all other OS versions: 393297 |
.NET Framework 4.6
|
|
On Windows 10 November
Update systems only: 394254
On all other OS versions: 394271 |
.NET Framework 4.6.1
|
|
On Windows 10 Anniversary
Update and Windows Server 2016: 394802
On all other OS versions: 394806 |
.NET Framework 4.6.2
|
|
On Windows 10 Creators
Update only: 460798
On all other OS versions: 460805 |
.NET Framework 4.7
|
|
On Windows 10 Fall
Creators Update only: 461308
On all other OS versions: 461310 |
.NET Framework 4.7.1
|
|
On Windows 10 April 2018
Update only: 461808
On all other OS versions: 461814 |
.NET Framework 4.7.2
|