Difference between revisions of "How to check .NET version using PowerShell"

From DevOps Notebook
(Created page with "<syntaxhighlight lang="PowerShell"> Get-ChildItem 'HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP' -Recurse | Get-ItemProperty -Name version -EA 0 | Where { $_.PSChildName -...")
 
(No difference)

Latest revision as of 09:23, 19 October 2020

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