Skip to content

Instantly share code, notes, and snippets.

@garethr
Last active October 10, 2016 21:00
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save garethr/a1838aa68355a0766de4 to your computer and use it in GitHub Desktop.
Save garethr/a1838aa68355a0766de4 to your computer and use it in GitHub Desktop.
WIndows boxstarter configuration
# A simple BoxStarter script for use with http://boxstarter.org/WebLauncher
# Updates a Windows machine and installs a range of developer tools
# Show more info for files in Explorer
Set-WindowsExplorerOptions -EnableShowFileExtensions -EnableShowFullPathInTitleBar
# Default to the desktop rather than application launcher
Set-StartScreenOptions -EnableBootToDesktop -EnableDesktopBackgroundOnStart -EnableShowStartOnActiveScreen -EnableShowAppsViewOnStartScreen -EnableSearchEverywhereInAppsView -EnableListDesktopAppsFirst
# Allow running PowerShell scripts
Update-ExecutionPolicy Unrestricted
# Allow unattended reboots
$Boxstarter.RebootOk=$true
$Boxstarter.AutoLogin=$true
# Update Windows and reboot if necessary
Install-WindowsUpdate -AcceptEula
if (Test-PendingReboot) { Invoke-Reboot }
# Install lots of developer software
cinst visualstudioexpress2013windowsdesktop
if (Test-PendingReboot) { Invoke-Reboot }
cinst git-credential-winstore
cinst cmder
cinst sublimetext2
cinst poshgit
cinst vim
cinst ruby
cinst puppet
cinst packer
cinst curl
cinst putty
cinst ack
cinst powertab
cinst make
cinst python2
cinst ruby2.devkit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment