Skip to content

Instantly share code, notes, and snippets.

@ScriptingPro
Created August 14, 2018 19:35
Show Gist options
  • Save ScriptingPro/7e4182923a45122388462b4495c24575 to your computer and use it in GitHub Desktop.
Save ScriptingPro/7e4182923a45122388462b4495c24575 to your computer and use it in GitHub Desktop.
Determine .NET versions installed powershell
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