Powershell查询.Net Framework最高版本信息
1.通过PowerShell命令进行.Net Framework版本查询
Get-ChildItem ‘HKLM:SOFTWAREmicrosoftNET Framework SetupNDP’ -Recurse | Get-ItemProperty -Name version -EA 0 | Where { $_.PSChildName -Match ‘^(?!S)p{L}’} | select PSChildName, version
2.执行结果: