Skip to content

Instantly share code, notes, and snippets.

@DavidChristiansen
Last active August 29, 2015 14:05
Show Gist options
  • Save DavidChristiansen/aaf966c891de52863f23 to your computer and use it in GitHub Desktop.
Save DavidChristiansen/aaf966c891de52863f23 to your computer and use it in GitHub Desktop.
# 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 }
cinstm VS2010SDK
if (Test-PendingReboot) { Invoke-Reboot }
cinstm VS2012SDK
if (Test-PendingReboot) { Invoke-Reboot }
cinstm VS2013SDK
if (Test-PendingReboot) { Invoke-Reboot }
cinstm aspnetmvc -Version 2.0
if (Test-PendingReboot) { Invoke-Reboot }
cinstm aspnetmvc
if (Test-PendingReboot) { Invoke-Reboot }
cinstm aspnetmvc4.install
if (Test-PendingReboot) { Invoke-Reboot }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment