# Boxstarter options $Boxstarter.RebootOk=$true # Allow reboots? $Boxstarter.NoPassword=$false # Is this a machine with no login password? $Boxstarter.AutoLogin=$true # Save my password securely and auto-login after a reboot Update-ExecutionPolicy Unrestricted Disable-InternetExplorerESC Disable-UAC Enable-RemoteDesktop Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles #Install IIS and needed features cinst IIS-WebServerRole -Source WindowsFeatures cinst IIS-IIS6ManagementCompatibility -Source WindowsFeatures cinst IIS-Metabase -Source WindowsFeatures cinst IIS-BasicAuthentication -Source WindowsFeatures cinst IIS-ISAPIExtensions -Source WindowsFeatures cinst IIS-ISAPIFilter -Source WindowsFeatures cinst IIS-NetFxExtensibility -Source WindowsFeatures cinst IIS-NetFxExtensibility45 -Source WindowsFeatures #2012 only cinst IIS-ASPNET -Source WindowsFeatures cinst IIS-ASPNET45 -Source WindowsFeatures #2012 only cinst DotNet4.5.2 #Run Windows Update and reboot Install-WindowsUpdate -AcceptEula if (Test-PendingReboot) { Invoke-Reboot } cinst chocolatey #we'll modify this package for local installs cinst chocolatey.server #the server package we'll copy to IIS cinst nuget.commandline #add nuget to the commandline path cinst warmup #chocolatey nuspec templates cinst git cinst poshgit cinst SublimeText2.app Remove-Item C:\inetpub\wwwroot\* -Recurse -Force Copy-Item C:\ProgramData\chocolatey\lib\chocolatey.server.0.1.1\tools\chocolatey.server\* C:\inetpub\wwwroot -Recurse -Force & START http://localhost