Created
January 16, 2014 12:48
-
-
Save jhorsman/8454479 to your computer and use it in GitHub Desktop.
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment