Skip to content

Instantly share code, notes, and snippets.

@omniscient
Last active August 12, 2016 06:15
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save omniscient/dd373c05d9e5c76d193e to your computer and use it in GitHub Desktop.
Save omniscient/dd373c05d9e5c76d193e to your computer and use it in GitHub Desktop.
My dev box setup
######## Boxstarter script - based on https://gist.github.com/philchuang/20bbdacffbf9ecc8cc3a#file-phil-dev-vm-boxstarter-package-ps1 ########
###############
#### notes ####
###############
### running remotely on VM fails on Configuring CredSSP settings
## check http://blogs.technet.com/b/heyscriptingguy/archive/2012/12/30/understanding-powershell-remote-management.aspx
### running locally on VM
## if connected, it will show login screen after restart, but is still working
### other notes
## Boxstarter repeats the _entire_ script after restart. For already-installed packages, Chocolatey will take a couple seconds each to verify. This can get tedious, so consider putting packages that require a reboot near the beginning of the script.
## Boxstarter automatically disables windows update so you don't need to do that at the beginning of the script.
### last run
## completed successfully except for GFW
## required 5 reboots
## took 3.25 hours
## still need to "Update and Restart" afterwards - and to ensure UAC is enabled
######################################
#### make sure we're not bothered ####
######################################
Disable-MicrosoftUpdate
Disable-UAC
cinst visualstudio2013professional -InstallArguments "/Features:'Blend OfficeDeveloperTools SQL WebTools Win8SDK SilverLightDeveloperKit'"
cinst visualstudio2013-webessentials.vsix
cinst visualstudio2015professional -packageParameters "--Features SQL,LightSwitch,OfficeDeveloperTools,SilverLightDeveloperKit"
cinst webessentials2015
cinst resharper
cinst mssqlservermanagementstudio2014express
cinst 7zip.install
cinst adblockpluschrome
cinst adobereader
cinst anyvideoconverter
cinst Atom
cinst audacity
cinst autohotkey.portable
cinst autoit.commandline
cinst baretail
cinst Boxstarter
cinst Boxstarter.Azure
cinst Boxstarter.Bootstrapper
cinst Boxstarter.Chocolatey
cinst Boxstarter.Common
cinst Boxstarter.HyperV
cinst Boxstarter.WinConfig
cinst calibre
cinst ccenhancer
cinst ccleaner
cinst ChocolateyGUI
cinst ConEmu
cinst curl
cinst directorymonitor
cinst docker
cinst DotNet4.5
cinst DotNet4.5.1
cinst dotnet4.6.1
cinst dropbox
cinst Evernote
cinst expresso
cinst ffmpeg
cinst fiddler4
cinst filebot
cinst filezilla
cinst Firefox
cinst git
cinst git.install
cinst gitextensions
cinst git-credential-winstore
cinst glasswire
cinst greenshot
cinst grepwin
cinst handbrake.install
cinst HipChat
cinst javaruntime
cinst jing
cinst jre8
cinst k-litecodecpackfull
cinst keepass.install
cinst lessmsi
cinst malwarebytes
cinst meld
cinst mp3tag
cinst mysql.workbench
cinst NAnt
cinst nmap
cinst nodejs.install
cinst notepadplusplus
cinst NuGet.CommandLine
cinst NugetPackageExplorer
cinst nunit.install
cinst paint.net
cinst PDFCreator
cinst poshgit
cinst PowerShell
cinst procexp
cinst procmon
cinst pstools
cinst putty
cinst putty.portable
cinst python
cinst rdcman
cinst skype
cinst slack
cinst SourceTree
cinst speccy
cinst spotify
cinst sysinternals
cinst tortoisesvn
cinst vcredist2013
cinst virtualbox
cinst VisualStudioCode
cinst vlc
cinst windirstat
cinst winmerge
cinst fxcop
#################################
#### NOW get windows updates ####
#################################
Enable-MicrosoftUpdate
Install-WindowsUpdate -AcceptEula
#################
#### cleanup ####
#################
del C:\eula*.txt
del C:\install.*
del C:\vcredist.*
del C:\vc_red.*
###############################
#### windows configuration ####
###############################
### do this here so that it only happens once (shouldn't reboot any more at this point)
Enable-RemoteDesktop
Set-StartScreenOptions -EnableBootToDesktop -EnableDesktopBackgroundOnStart -EnableShowStartOnActiveScreen -EnableShowAppsViewOnStartScreen -EnableSearchEverywhereInAppsView -EnableListDesktopAppsFirst
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions -EnableShowFullPathInTitleBar
TZUTIL /s "Eastern Standard Time"
Install-ChocolateyPinnedTaskBarItem "${env:ProgramFiles(x86)}\Fiddler2\Fiddler.exe"
Install-ChocolateyPinnedTaskBarItem "${env:ProgramFiles(x86)}\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe"
Install-ChocolateyPinnedTaskBarItem "${env:ProgramFiles(x86)}\Microsoft SQL Server\120\Tools\Binn\ManagementStudio\Ssms.exe"
Install-ChocolateyPinnedTaskBarItem "$env:programfiles\comemu\ConEmu64.exe"
Install-ChocolateyPinnedTaskBarItem "$($Boxstarter.programFiles86)\Google\Chrome\Application\chrome.exe"
################################
#### restore disabled stuff ####
################################
Enable-UAC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment