
You can use the Enable-WindowsOptionalFeature command to install IIS Features as well as any other Windows Features. It's as easy as creating a small PowerShell script file and letting her rip. Enter Enable-WindowsOptionalFeatureĪpparently many people are unaware that in recent versions of Windows - using Powershell - you can automate the IIS Features installation using a few simple Powershell Commandlet calls.

I tend to agree - especially on Server versions installing IIS through the insanely user hostile Server Manager interface is a pain.īut there's an easier, quicker and repeatable way if you're willing to dive into the command line or create and run a small Powershell script. The chief complaints I hear frequently is that it's a pain to get IIS to install initially with all the right components. And a lot of times the people who set up the system are long gone. As a result I deal with a lot of support issues around IIS and people who install IIS run an application for years, have their servers eventually break down and then have to reinstall years after their last install.

I've been working with IIS on Windows for a loooong time and I have a number of products that go way back that run on IIS. Here's an oldie but goodie, that keeps coming up for me rather frequently.
