Last active
February 17, 2016 21:43
-
-
Save gregjhogan/4f4bd7e1d785be096fa4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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