Life's random bits By b1thunt3r (aka Ishan Jain)…
Install IIS on Windows NT 6

Install IIS on Windows NT 6

Ishan jain
As an EPiServer developer I have to install IIS, to be able to develop and test the applications.

So to save some time, and not have the need of GUI for installing IIS on a Windows Server (by clicking thousands of time), I created a little bash script.

No all I have to do is, to just run the script as an "Local Administrator" on the server, and all the components needed to host a EPiServer site on IIS is installed.

start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-HttpErrors;IIS-HttpRedirect;IIS-ApplicationDevelopment;IIS-ASPNET;IIS-NetFxExtensibility;IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-RequestMonitor;IIS-HttpTracing;IIS-Security;IIS-BasicAuthentication;IIS-WindowsAuthentication;IIS-URLAuthorization;IIS-RequestFiltering;IIS-Performance;IIS-HttpCompressionStatic;IIS-WebServerManagementTools;IIS-ManagementConsole;IIS-ManagementScriptingTools;WAS-WindowsActivationService;WAS-ProcessModel;WAS-NetFxEnvironment;WAS-ConfigurationAPI

Note: Just keep in mind it can take some time to install all the components needed.