jhorsman
1/16/2014 - 12:48 PM

Verify which .NET Frameworks are installed through a PowerShell command. This works for .NET 4.5.1 as well, unlike many other comparable scr

Verify which .NET Frameworks are installed through a PowerShell command. This works for .NET 4.5.1 as well, unlike many other comparable scripts. Copied from http://stackoverflow.com/a/3495491/1678525

Get-ChildItem 'HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP' -recurse |
Get-ItemProperty -name Version -EA 0 |
Where { $_.PSChildName -match '^(?!S)\p{L}'} |
Select PSChildName, Version