Skip to content

Instantly share code, notes, and snippets.

@danhively
Created February 20, 2014 23:11
Show Gist options
  • Select an option

  • Save danhively/9125291 to your computer and use it in GitHub Desktop.

Select an option

Save danhively/9125291 to your computer and use it in GitHub Desktop.
Set-ExecutionPolicy Unrestricted -Force
Move-LibraryDirectory "Personal" "$env:UserProfile\skydrive\documents"
Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions
Enable-RemoteDesktop
# Text Editors
#cinst notepad2
cinst notepadplusplus
<#
# Web browsers
cinst Chrome
cinst Firefox
cinst Opera
cinst Safari
# Web browser extensions
cinst adblockpluschrome
cinst adblockplusfirefox
#>
# Scaffold out folder system
# C:\dev
if (!(Test-Path -Path C:\dev )) {
mkdir C:\dev
}
# C:\dev\CodePlex
if (!(Test-Path -Path C:\dev\CodePlex )) {
mkdir C:\dev\CodePlex
}
# C:\dev\Data
if (!(Test-Path -Path C:\dev\Data )) {
mkdir C:\dev\Data
}
# C:\dev\GitHub
if (!(Test-Path -Path C:\dev\GitHub )) {
mkdir C:\dev\GitHub
}
# C:\dev\Projects
if (!(Test-Path -Path C:\dev\Projects )) {
mkdir C:\dev\Projects
}
In either Internet Explorer (other browsers likely will not work) or from a console (CMD or PowerShell), invoke the Boxstarter launcher:
START http://boxstarter.org/package/url?https://gist.github.com/cnwilkin/8670024/raw/3af21bb7979679f19055b68744428509555fbc3e/boxstarter
If not already installed, this will install Chocolatey and any of its prerequisites. If you did not include /nr/ in the Boxstarter URL, it will manage reboots and automatically log the machine back in so you do not have to attend to it throughout the installation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment