查看.NET Framework版本

Code

(Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full").Release

Ref

https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed#detect-net-framework-45-and-later-versions

posted @ 2022-07-28 17:13  talentzemin  阅读(125)  评论(0编辑  收藏  举报