How to check .NET version using PowerShell

From DevOps Notebook
Revision as of 09:23, 19 October 2020 by MilosZ (talk | contribs) (Created page with "<syntaxhighlight lang="PowerShell"> Get-ChildItem 'HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP' -Recurse | Get-ItemProperty -Name version -EA 0 | Where { $_.PSChildName -...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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