This is more of a place for me to store something I use fairly often, but can never
remember off the top of my head.  This script, when run as administrator, will
install all the features of IIS for developing on Windows 7.  Mind you, this
is the prettified* version so it’s web-readable.

START /WAIT DISM /Online /Enable-Feature

/FeatureName:IIS-ApplicationDevelopment

/FeatureName:IIS-ASP

/FeatureName:IIS-ASPNET

/FeatureName:IIS-BasicAuthentication

/FeatureName:IIS-CGI

/FeatureName:IIS-ClientCertificateMappingAuthentication

/FeatureName:IIS-CommonHttpFeatures

/FeatureName:IIS-CustomLogging

/FeatureName:IIS-DefaultDocument

/FeatureName:IIS-DigestAuthentication

/FeatureName:IIS-DirectoryBrowsing

/FeatureName:IIS-FTPExtensibility

/FeatureName:IIS-FTPServer

/FeatureName:IIS-FTPSvc

/FeatureName:IIS-HealthAndDiagnostics

/FeatureName:IIS-HostableWebCore

/FeatureName:IIS-HttpCompressionDynamic

/FeatureName:IIS-HttpCompressionStatic

/FeatureName:IIS-HttpErrors

/FeatureName:IIS-HttpLogging

/FeatureName:IIS-HttpRedirect

/FeatureName:IIS-HttpTracing

/FeatureName:IIS-IIS6ManagementCompatibility

/FeatureName:IIS-IISCertificateMappingAuthentication

/FeatureName:IIS-IPSecurity

/FeatureName:IIS-ISAPIExtensions

/FeatureName:IIS-ISAPIFilter

/FeatureName:IIS-LegacyScripts

/FeatureName:IIS-LegacySnapIn

/FeatureName:IIS-LoggingLibraries

/FeatureName:IIS-ManagementConsole

/FeatureName:IIS-ManagementScriptingTools

/FeatureName:IIS-ManagementService

/FeatureName:IIS-Metabase

/FeatureName:IIS-NetFxExtensibility

/FeatureName:IIS-ODBCLogging

/FeatureName:IIS-Performance

/FeatureName:IIS-RequestFiltering

/FeatureName:IIS-RequestMonitor

/FeatureName:IIS-Security

/FeatureName:IIS-ServerSideIncludes

/FeatureName:IIS-StaticContent

/FeatureName:IIS-URLAuthorization

/FeatureName:IIS-WebDAV

/FeatureName:IIS-WebServer

/FeatureName:IIS-WebServerManagementTools

/FeatureName:IIS-WebServerRole

/FeatureName:IIS-WindowsAuthentication

/FeatureName:IIS-WMICompatibility

/FeatureName:WAS-ConfigurationAPI

/FeatureName:WAS-NetFxEnvironment

/FeatureName:WAS-ProcessModel

/FeatureName:WAS-WindowsActivationService

*Interesting that “prettified” is a word according to Live Writer.

Uncategorized

Join the conversation