IIS 7 webserver components for Lync FE
There are actually two ways do get this all done in one swoop. Using the GUI is good, but wouldn't you rather just do some cut n paste?
Note that there subtle differences here in the syntax although the individual feature add statements are the same.
For Server 2008 SP1 or SP2:
Open a command line (runas administrator). Then do the following (command will have wrapped):
servermanagercmd.exe -i web-common-http web-static-content web-http-errors web-http-redirect web-asp.net web-net-ext web-isapi-ext web-isapi-filter web-http-logging web-log-libraries web-http-tracing web-basic-auth web-windows-auth web-client-auth web-url-auth web-filtering web web-stat-compression web-mgmt-tools web-mgmt-console web-scripting-tools web-mgmt-compat web-metabase web-wmi web-lgcy-scripting web-lgcy-mgmt-console
For Server 2008 R2:
Open powershell (runas administrator), then do the following (again commands have wrapped here):
import-module servermanager
add-windowsfeature web-common-http, web-static-content, web-http-errors, web-http-redirect, web-asp-net, web-net-ext, web-isapi-ext, web-isapi-filter, web-http-logging, web-log-libraries, web-http-tracing, web-basic-auth, web-windows-auth, web-client-auth, web-url-auth, web-filtering, web-stat-compression, web-mgmt-tools, web-mgmt-console, web-scripting-tools, web-mgmt-compat, web-metabase, web-wmi, web-lgcy-scripting, web-lgcy-mgmt-console
4 comments:
Thank You!
Thank You!
Does not work (on fully updated Server 2008 x64). It just throws two errors:
"ArgumentNotValid: Invalid role, role service, or feature: 'web-asp.net'. The name was not found."
and
""ArgumentNotValid: Invalid role, role service, or feature: 'web'. The name was not found."
What am I doing wrong? I ran CMD as administrator and am logged in as the Domain Admin.
@crobbs- in looking at the 2008 list, it appears that most of the commas separating the various elements are missing. Dunno why. Fix the syntax to match the R2 listing and retry.
Or just use R2.
Post a Comment