如何在Windows 2012r2上安装.Net 4.6.2
我们有数百个IIS web服务器,安装.net 3.x和4.0,使用windows 2012r2上的dism.exe(通过厨师) PowerShell命令 dism.exe /online /enable-feature /featurename:NetFX4 厨师资源 windows_feature 'NetFx4' do action :install end 这只能安装到4.6.0 gci 'HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP' -recurse | gp -name Version,Release -EA 0 | where { $_.PSChildName -match '^(?!S)\p{L}'} | select PSChileName, Version, Release PSChildName Version Release ———– ——- ——- v2.0.50727 2.0.50727.4927 v3.0 3.0.30729.4926 Windows Communication Foundation 3.0.4506.4926 Windows Presentation […]