Skip to content

Instantly share code, notes, and snippets.

@danhively
Created August 1, 2014 10:20
Show Gist options
  • Save danhively/d8912eecd3c8bf8e1893 to your computer and use it in GitHub Desktop.
Save danhively/d8912eecd3c8bf8e1893 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