Last active
August 29, 2015 14:02
-
-
Save zvolkov/ef580afedf3ed78b13e4 to your computer and use it in GitHub Desktop.
Boxstarter web server
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
Set-ExecutionPolicy Unrestricted | |
Set-ExplorerOptions –showFileExtensions -EnableShowFullPathInTitleBar | |
Set-TaskbarSmall | |
Install-WindowsUpdate –AcceptEula | |
#install .net framework | |
cinst DotNet4.5 | |
#Enable Web Services | |
cinst IIS-WebServerRole -source windowsfeatures | |
cinst IIS-ISAPIFilter -source WindowsFeatures | |
cinst IIS-ISAPIExtensions -source WindowsFeatures | |
cinst IIS-HttpCompressionDynamic -source windowsfeatures | |
cinst IIS-ManagementScriptingTools -source windowsfeatures | |
cinst IIS-WindowsAuthentication -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 | |
#if (Test-PendingReboot) { Invoke-Reboot } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment