IIS 7 and Above
IIS 8.5 install via Add-WindowsFeature cmdlet - some specific items t...
Last post Apr 06, 2016 07:42 AM by Jean Sun
Mar 22, 2016 05:45 PM|agoktas|LINK
Here is what I have so far in my ps1:
Web-Health -IncludeAllSubFeature `
Web-Security -IncludeAllSubFeature `
But it ends up installing all sub features for Web-Server, not just the sub features of the category I want all features included (instead of individually listing all the sub features of the category).
Anyone have any ideas on how to accomplish this?
Mar 23, 2016 06:10 AM|Jean Sun|LINK
Some IIS modules will be installed by default when the Web Server(IIS) role is installed. I think this is the reason to your ISSUE.
Mar 23, 2016 03:56 PM|agoktas|LINK
Thanks for the reply. But I'm wondering how to install "AllSubFeatures" to only one category within IIS (Web-Server). Other categories, I will explicitly select subfeatures.
Anyone have any ideas?
Apr 06, 2016 07:42 AM|Jean Sun|LINK
Sorry about the late response, cause i'm not using a server verison of windows. I can't test this command on my side.
What's the result when you run the following command?
Add-WindowsFeature Web-Health -IncludeAllSubFeature