Skip to content

Instantly share code, notes, and snippets.

@gregjhogan
Last active August 29, 2015 14:05
Show Gist options
  • Save gregjhogan/2d9a126ccfdaa67bb291 to your computer and use it in GitHub Desktop.
Save gregjhogan/2d9a126ccfdaa67bb291 to your computer and use it in GitHub Desktop.
Development Machine Boxstarter Script
# 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/active-low/2d9a126ccfdaa67bb291/raw/boxstarter-dev-install
# or if you install boxstarter first you can run:
# Install-BoxstarterPackage -PackageName https://gist.github.com/active-low/2d9a126ccfdaa67bb291/raw/boxstarter-dev-install
#$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
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
Enable-MicrosoftUpdate
Enable-RemoteDesktop
# AC lid close action (do nothing)
powercfg -setacvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 0
# DC lid close action (sleep)
powercfg -setdcvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 1
cinst WebPI
cinst DotNet3.5
cinst DotNet4.5
cinst Microsoft-Hyper-V-All -source windowsFeatures
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 Windows 2012/8
cinst IIS-NetFxExtensibility45 -source WindowsFeatures
cinst NetFx4Extended-ASPNET45 -source WindowsFeatures
cinst IIS-ASPNet45 -source WindowsFeatures
cinst UrlRewrite
cinst GoogleChrome
cinst Firefox
cinst Fiddler4
cinst TortoiseSvn
cinst 7zip
cinst SublimeText3
cinst VisualStudio2013UltimateUpdate4 -InstallArguments WebTools
#Install-ChocolateyVsixPackage PowerShellTools http://visualstudiogallery.msdn.microsoft.com/c9eb3ba8-0c59-4944-9a62-6eee37294597/file/112013/6/PowerShellTools.vsix
#Install-ChocolateyVsixPackage WebEssentials2013 http://visualstudiogallery.msdn.microsoft.com/56633663-6799-41d7-9df7-0f2a504ca361/file/105627/31/WebEssentials2013.vsix
Install-WindowsUpdate -AcceptEula
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment