Created
August 4, 2020 07:17
-
-
Save ChaosEngine/fe6f074935e45c43d0703bee9dd87c06 to your computer and use it in GitHub Desktop.
PowerShell script to return versions of .NET Framework on a machine
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,Release -EA 0 | | |
Where { $_.PSChildName -match '^(?!S)\p{L}'} | | |
Select PSChildName, Version, Release |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment