Add-WindowsFeature Web-Server,Web-Mgmt-Tools,Web-Mgmt-Console,Web-WebServer,Web-Common-Http,Web-Default-Doc,Web-Static-Content,Web-Performance,Web-Stat-Compression,Web-Dyn-Compression,Web-Security,Web-Filtering,Web-Windows-Auth,Web-App-Dev,Web-Net-Ext45,Web-Asp-Net45,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Includes,InkandHandwritingServices,NET-Framework-Features,NET-Framework-Core,NET-HTTP-Activation,NET-Non-HTTP-Activ,NET-WCF-HTTP-Activation45,Windows-Identity-Foundation,Server-Media-Foundation
|
New-OfficeWebAppsFarm -InternalURL "http://officeserver.website.com" -ExternalUrl "http://172.16.2.34" -AllowHttp -EditingEnabled
|
Set-OfficeWebAppsFarm -AllowHttpSecureStoreConnections:$true
|
Set-OfficeWebAppsFarm -OpenFromUrlEnabled:$true
|
Set-OfficeWebAppsFarm -EditingEnabled:$true
|
Set-OfficeWebAppsFarm -AllowOutboundHttp:$true
|
原文:https://www.cnblogs.com/donethome/p/14046851.html