Get-FrameworkVersion.ps1 displays a list of all .NET Framework versions installed on a computer.

This script provides support for getting the versions of .NET Framework on remote computers. It also reports on any BlockNetFramework registry keys present on the computer.

Operation is simple:

PS C:\scripts> .\Get-FrameworkVersion.ps1
v2.0.50727       2.0.50727.4927   SP2
v3.0             3.0.30729.4926   SP2
v3.5             3.5.30729.4926   SP1
                 Client           4.8.03752
                 Full             4.8.03752
Current .NET Framework version: 4.8 on Windows 10 (4.8.03752 = release 528040)
No versions of the .NET Framework are blocked on the computer
PS C:\scripts>

For more information on this script, see