Powershell AS-HTTP-Activation 無效(咋整?)

在安裝Exchange 2016的時候,大家都會習慣性的複製黏貼大師們的Command,以便節省時間。問題是有時候複製粘貼也會出錯……下圖就是有圖有真相

image.png

人家大師傅都是正常的,為什麼到我這裡就Error?我勒個去啊……手多了嗎?經過多次複查發現,原來 Windows Server 2016 已經不需要再 Install-WindowsFeature AS-HTTP-Activation,這個參數了,這個參數是基於Windows 2012R2以下的系統安裝的,我就直接去掉 Install-WindowsFeature AS-HTTP-Activation,繼續安裝我的 Exchange Server 2016。

image.png

請注意,這個是基於 Windows Server 2016 的 Command。

Install-WindowsFeature Server-Media-Foundation, NET-Framework-45-Features, RPC-over-HTTP-proxy, RSAT-Clustering, RSAT-Clustering-CmdInterface, RSAT-Clustering-Mgmt, RSAT-Clustering-PowerShell, Web-Mgmt-Console, WAS-Process-Model, Web-Asp-Net45, Web-Basic-Auth, Web-Client-Auth, Web-Digest-Auth, Web-Dir-Browsing, Web-Dyn-Compression, Web-Http-Errors, Web-Http-Logging, Web-Http-Redirect, Web-Http-Tracing, Web-ISAPI-Ext, Web-ISAPI-Filter, Web-Lgcy-Mgmt-Console, Web-Metabase, Web-Mgmt-Console, Web-Mgmt-Service, Web-Net-Ext45, Web-Request-Monitor, Web-Server, Web-Stat-Compression, Web-Static-Content, Web-Windows-Auth, Web-WMI, Windows-Identity-Foundation, RSAT-ADDS

………………

這個是基於 Windows Serve 2012R2 的 Command

Install-WindowsFeature AS-HTTP-Activation, Server-Media-Foundation, NET-Framework-45-Features, RPC-over-HTTP-proxy, RSAT-Clustering, RSAT-Clustering-CmdInterface, RSAT-Clustering-Mgmt, RSAT-Clustering-PowerShell, Web-Mgmt-Console, WAS-Process-Model, Web-Asp-Net45, Web-Basic-Auth, Web-Client-Auth, Web-Digest-Auth, Web-Dir-Browsing, Web-Dyn-Compression, Web-Http-Errors, Web-Http-Logging, Web-Http-Redirect, Web-Http-Tracing, Web-ISAPI-Ext, Web-ISAPI-Filter, Web-Lgcy-Mgmt-Console, Web-Metabase, Web-Mgmt-Console, Web-Mgmt-Service, Web-Net-Ext45, Web-Request-Monitor, Web-Server, Web-Stat-Compression, Web-Static-Content, Web-Windows-Auth, Web-WMI, Windows-Identity-Foundation, RSAT-ADDS

………………完………………

猜你喜欢

转载自blog.51cto.com/happynews/2307054