Skip to content

Instantly share code, notes, and snippets.

@gregjhogan
Last active February 17, 2016 21:43
Show Gist options
  • Save gregjhogan/4f4bd7e1d785be096fa4 to your computer and use it in GitHub Desktop.
Save gregjhogan/4f4bd7e1d785be096fa4 to your computer and use it in GitHub Desktop.
# command to run: (if IE is not your default browser, open the URL below in IE)
# START http://boxstarter.org/package/nr/url?https://gist.github.com/gregjhogan/4f4bd7e1d785be096fa4/raw/boxstarter-dev-local-iis-config
# or if you install boxstarter first you can run:
# Install-BoxstarterPackage -PackageName https://gist.github.com/gregjhogan/4f4bd7e1d785be096fa4/raw/boxstarter-dev-local-iis-config
Update-ExecutionPolicy Unrestricted
cinst DotNet4.6
cinst IIS-WebServerRole -source windowsfeatures
cinst IIS-HttpCompressionDynamic -source windowsfeatures
cinst IIS-ManagementScriptingTools -source windowsfeatures
cinst IIS-WindowsAuthentication -source windowsfeatures
cinst IIS-WebServerRole -source WindowsFeatures
cinst IIS-ISAPIFilter -source WindowsFeatures
cinst IIS-ISAPIExtensions -source WindowsFeatures
#Enable ASP.NET on win 2012/8
cinst IIS-NetFxExtensibility45 -source WindowsFeatures
cinst NetFx4Extended-ASPNET45 -source WindowsFeatures
cinst IIS-ASPNet45 -source WindowsFeatures
#Enable ASP.NET on win 7/2008R2
."$env:windir\microsoft.net\framework\v4.0.30319\aspnet_regiis.exe" -i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment