Skip to content

Instantly share code, notes, and snippets.

@mikemoate
Last active December 28, 2017 14:44
Show Gist options
  • Save mikemoate/0915288fff447b640cdb to your computer and use it in GitHub Desktop.
Save mikemoate/0915288fff447b640cdb to your computer and use it in GitHub Desktop.
Boxstarter script to rebuild work machine, tested with Windows 7
# Bootstrap script for use with http://boxstarter.org/
# To use append the URL to the raw snippet to http://boxstarter.org/package/nr/url?
# (e.g. http://boxstarter.org/package/nr/url?https://gist.githubusercontent.com/mikemoate/0915288fff447b640cdb/raw/83b32099ea8f21d06604ae70003312b7492b8cd8/boxstarter-script-work)
# NOTE: You may see errors from some packages if you have already installed the software before using boxstarter.
# (some MSI's handle this badly and so exit with the wrong code, I've seen this for HipChat, RoyalTS, Virtualbox and Vagrant)
# Windows settings
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions -EnableShowFullPathInTitleBar
Set-TaskbarOptions -Size Small -Lock -Dock Bottom
Update-ExecutionPolicy RemoteSigned
# Windows updates & features
cinst -y dotnet4.5
cinst -y powershell4
cinst -y procexp
# Useful Apps
cinst -y 7zip
cinst -y passwordsafe
cinst -y hipchat
cinst -y google-chrome-x64 # needs ITS exception
cinst -y jre8
cinst -y join.me
cinst -y sublimetext3
cinst -y beyondcompare # Will need license key entering at first run
cinst -y git -params /GitAndUnixToolsOnPath
# Infra tools
cinst -y putty.install
cinst -y royalts # Will need license key entering at first run
cinst -y wireshark
# Chef & related tools
cinst -y virtualbox # didn't work but now does after re-image, see https://chocolatey.org/packages/virtualbox#comment-2244643726
cinst -y vagrant
cinst -y chefdk
# cinst -y packer # needs newer chocolatey in boxstarter as has non md5 sig, see https://chocolatey.org/packages/packer#comment-2100957018
# Development tools
cinst -y nodejs
# Install Chocolatey for ongoing package maintenance
cinst -y chocolatey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment