Installing IIS with Chocolatey

Chocolatey is one of those technologies that I find very exciting. Installing applications is hardly an arduous task, but being able to do it from the command line is damn cool. And it’s really a feature that Windows should have by now.

While installing IIS on a new computer, I discovered that Chocolatey has expanded it’s feature set to include installing Windows Features.


PS C:\> cWindowsFeatures IIS-WebServerRole
PS C:\> cWindowsFeatures IIS-ISAPIFilter
PS C:\> cWindowsFeatures IIS-ISAPIExtensions
PS C:\> cWindowsFeatures IIS-NetFxExtensibility
PS C:\> cWindowsFeatures IIS-ASPNET

PS C:\> chocolatey install evernote
PS C:\> chocolatey install resharper

The resulting output looks like this:

install-iis

That’s all there is to it! This is not all that much faster than doing it from the UI, but it is now simple to automate this via Powershell!

Advertisements
This entry was posted in .Net, IIS and tagged , , . Bookmark the permalink.

One Response to Installing IIS with Chocolatey

  1. Larry says:

    I don’t know whether or not it’s me or yuor web blog but it’s loading sluggish
    for me personally, it took me just like a few moments to
    load up and yet digg operates completely to me.
    Nevertheless, I must thank you for putting fantastic content.
    I guess it has been useful to many people who arrived at this point.
    This one is undoubtedly great everything that you have done on this
    site and want to discover more nice articles by you. To
    obtain additional knowledge through content that you post, I actually have
    book marked this web site.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s