Skip to content

Instantly share code, notes, and snippets.

@timabell
Last active November 19, 2015 15:56
Show Gist options
  • Select an option

  • Save timabell/e1d9def6ca38d9ebee5c to your computer and use it in GitHub Desktop.

Select an option

Save timabell/e1d9def6ca38d9ebee5c to your computer and use it in GitHub Desktop.
boxstarter for an azure vm that already had vs2015 on it
# boxstarter script http://boxstarter.org/
# source: https://gist.github.com/timabell/e1d9def6ca38d9ebee5c
# based on: https://gist.github.com/timabell/608fb680bfc920f372ac
# originally tested on win7 x64
# wip on win 8.1 build
# To run, paste this into internet explorer's address bar (doen't work in firefox) and hit enter:
# http://boxstarter.org/package/nr/url?https://gist.githubusercontent.com/timabell/e1d9def6ca38d9ebee5c/raw/azure-boxstarter.txt
# If IE is your default browser you can simply paste into start > run without firing up IE first.
# Note: last time I checked boxstarter installed an outdated version of chocolatey.
### windows UI config
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
# always show all items in system tray
Set-ItemProperty -Path HKCU:SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name EnableAutoTray -Value 0 -Type DWord
# turn off stupid integrated CILLIT BING! search in start menu
Set-ItemProperty -Path HKCU:SOFTWARE\Microsoft\Windows\CurrentVersion\Search -Name BingSearchEnabled -Value 0 -Type DWord
# use procmon to find more annoying reg key settings, filter to Operation="RegSetValue"
# more windows options: http://boxstarter.org/WinConfig
### windows components & config
cinst -source windowsfeatures IIS-WebServerRole IIS-WebServer IIS-Security IIS-WindowsAuthentication
### programs
# to see the details of any of the following go to https://chocolatey.org/packages/PACKAGE_NAME_HERE
# find more package names here: https://chocolatey.org/
# and here `choco list`
# and here `choco list -source windowsfeatures`
# sql server + tools #
# errors if run twice :-(
cinst mssqlserver2014express
# cinst mssqlservermanagementstudio2014express
# bits and pieces for a project
cinst googlechrome tfpt wixtoolset
### folders
# somewhere to put code I'm working on
$folder = 'c:\repo'
if ( -not (Test-Path $folder) ) {New-Item $folder -Type Directory}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment