Skip to content

Instantly share code, notes, and snippets.

@dnolf
Created December 22, 2014 15:14
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 dnolf/ec841ce6f2d708011e08 to your computer and use it in GitHub Desktop.
Save dnolf/ec841ce6f2d708011e08 to your computer and use it in GitHub Desktop.
DevBox
# Boxstarter script for blog post http://blog.zerosharp.com/provisioning-a-new-development-machine-with-boxstarter
# Allow reboots
$Boxstarter.RebootOk=$true
$Boxstarter.NoPassword=$false
$Boxstarter.AutoLogin=$true
# Basic setup
Update-ExecutionPolicy Unrestricted
Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions
Enable-RemoteDesktop
Disable-InternetExplorerESC
Disable-UAC
Set-TaskbarSmall
if (Test-PendingReboot) { Invoke-Reboot }
# Update Windows and reboot if necessary
Install-WindowsUpdate -AcceptEula
if (Test-PendingReboot) { Invoke-Reboot }
# Install Visual Studio 2013 Premium
cinstm VisualStudio2013Premium -InstallArguments WebTools
if (Test-PendingReboot) { Invoke-Reboot }
# Install Visual Studio 2013 Premium Update 4
cinstm vs2013.4
if (Test-PendingReboot) { Invoke-Reboot }
# Visual Studio SDK required for PoshTools extension
cinstm VS2013SDK
if (Test-PendingReboot) { Invoke-Reboot }
cinstm DotNet3.5 # Not automatically installed with VS 2013. Includes .NET 2.0. Uses Windows Features to install.
if (Test-PendingReboot) { Invoke-Reboot }
# VS extensions
Install-ChocolateyVsixPackage PowerShellTools http://visualstudiogallery.msdn.microsoft.com/c9eb3ba8-0c59-4944-9a62-6eee37294597/file/112013/6/PowerShellTools.vsix
Install-ChocolateyVsixPackage WebEssentials2013 http://visualstudiogallery.msdn.microsoft.com/56633663-6799-41d7-9df7-0f2a504ca361/file/105627/31/WebEssentials2013.vsix
Install-ChocolateyVsixPackage T4Toolbox http://visualstudiogallery.msdn.microsoft.com/791817a4-eb9a-4000-9c85-972cc60fd5aa/file/116854/1/T4Toolbox.12.vsix
Install-ChocolateyVsixPackage StopOnFirstBuildError http://visualstudiogallery.msdn.microsoft.com/91aaa139-5d3c-43a7-b39f-369196a84fa5/file/44205/3/StopOnFirstBuildError.vsix
Install-ChocolateyVsixPackage CodeMaid http://visualstudiogallery.msdn.microsoft.com/76293c4d-8c16-4f4a-aee6-21f83a571496/file/9356/29/CodeMaid_v0.7.5.vsix
Install-ChocolateyVsixPackage GitDiffMargin http://visualstudiogallery.msdn.microsoft.com/cf49cf30-2ca6-4ea0-b7cc-6a8e0dadc1a8/file/101267/11/GitDiffMargin.vsix
Install-ChocolateyVsixPackage IndentGuides http://visualstudiogallery.msdn.microsoft.com/e792686d-542b-474a-8c55-630980e72c30/file/48932/20/IndentGuide%20v14.vsix
# AWS Toolkit is now an MSI available here http://sdk-for-net.amazonwebservices.com/latest/AWSToolsAndSDKForNet.msi (no chocolatey package as of FEB 2014)
# Install-ChocolateyVsixPackage AwsToolkit http://visualstudiogallery.msdn.microsoft.com/175787af-a563-4306-957b-686b4ee9b497
#Other dev tools
cinstm fiddler4
#cinstm beyondcompare
#cinstm ProcExp
cinstm sysinternals
cinstm NugetPackageExplorer
cinstm windbg
cinstm Devbox-Clink # Clink improves the existing command prompt (e.g., paste works)
#cinstm TortoiseHg
#cinstm VisualHG # Chocolatey package is corrupt as of Feb 2014
#cinstm linqpad4
#cinstm TestDriven.Net
cinstm ncrunch2.vs2013
#cinstm dotpeek
#cinstm InkScape
#cinstm mssqlserver2012express
cinstm smartgit-with-jre.6.5.3 -source \\cwidiskstation2\BoxStarter\packages
#Browsers
cinstm googlechrome
#cinstm firefox
#Other essential tools
cinstm 7zip
cinstm adobereader
cinstm javaruntime
cinstm dropbox
cinstm crashplan
cinstm itunes
cinstm passwordsafe
cinstm virtualclonedrive
cinstm filezilla
cinstm xmlnotepad
#cinst Microsoft-Hyper-V-All -source windowsFeatures
cinst IIS-WebServerRole -source windowsfeatures
cinst IIS-HttpCompressionDynamic -source windowsfeatures
cinst IIS-ManagementScriptingTools -source windowsfeatures
cinst IIS-WindowsAuthentication -source windowsfeatures
cinst IIS-ASPNET -source windowsfeatures
cinst IIS-ASPNET45 -source windowsfeatures
cinst IIS-ASP -source windowsfeatures
cinst IIS-WebSockets -source windowsfeatures
Install-ChocolateyPinnedTaskBarItem "$($Boxstarter.programFiles86)\Google\Chrome\Application\chrome.exe"
Install-ChocolateyPinnedTaskBarItem "$($Boxstarter.programFiles86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment