Skip to content

Instantly share code, notes, and snippets.

@dmorrison
Forked from garethr/garethr.ps1
Last active August 29, 2015 14:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmorrison/f414de50cd4e0c693138 to your computer and use it in GitHub Desktop.
Save dmorrison/f414de50cd4e0c693138 to your computer and use it in GitHub Desktop.
# 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