Last active
December 15, 2019 23:13
-
-
Save rprouse/184f55de1e8cfe549d4b to your computer and use it in GitHub Desktop.
Boxstarter Computer Setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#==================================================== | |
# Setting up a new machine using BoxStarter | |
# 1.Install Windows 8.1 on a new machine. | |
# 2.Login. | |
# 3.Open a command prompt and enter the following: | |
# START http://boxstarter.org/package/nr/url?https://gist.githubusercontent.com/rprouse/184f55de1e8cfe549d4b/raw/eab3ea82ce33963e2222507c9802e9012f556b7c/ChocolateyInstall.ps1 | |
#==================================================== | |
#==================================================== | |
# Boxstarter options | |
$Boxstarter.RebootOk=$true # Allow reboots? | |
$Boxstarter.NoPassword=$false # Is this a machine with no login password? | |
$Boxstarter.AutoLogin=$true # Save my password securely and auto-login after a reboot | |
#==================================================== | |
# Basic Setup | |
#Update-ExecutionPolicy Unrestricted -Force | |
#Set-ExplorerOptions -showHidenFilesFoldersDrives -showFileExtensions | |
#Enable-RemoteDesktop | |
#Enable-MicrosoftUpdate | |
#Disable-InternetExplorerESC | |
#==================================================== | |
# Power Configuration | |
#powercfg -x -standby-timeout-ac 0 | |
#powercfg -x -standby-timeout-dc 0 | |
#powercfg -x -monitor-timeout-ac 10 | |
#powercfg -x -monitor-timeout-dc 10 | |
#powercfg -x -hibernate-timeout-ac 0 | |
#powercfg -x -hibernate-timeout-dc 0 | |
#powercfg -x -disk-timeout-ac 20 | |
#powercfg -x -disk-timeout-dc 20 | |
#==================================================== | |
# Programs and Tools | |
#cinst PowerShell | |
#cinst 7zip.commandline | |
#cinst 7zip.install | |
#cinst google-chrome-x64 | |
#cinst filezilla | |
#cinst Gow | |
#cinst lockhunter | |
#cinst sysinternals | |
#cinst putty.install | |
#cinst notepadplusplus.install | |
#cinst ConsoleZ.WithPin | |
#cinst paint.net | |
#cinst vlc | |
#cinst cccp | |
#cinst dropbox | |
#cinst evernote | |
#cinst greenshot -Version 1.1.9.13 | |
#cinst IcoFx | |
#cinst imgburn | |
#cinst javaruntime | |
#cinst markdownpad2 | |
#cinst sumatrapdf.install | |
#cinst skype | |
#cinst truecrypt | |
#cinst windirstat | |
#cinst CCleaner | |
#cinst CutePDF | |
#cinst Silverlight | |
#==================================================== | |
# Source Control | |
#cinst git.install | |
#cinst poshgit | |
#cinst SourceTree | |
#==================================================== | |
# .NET Development | |
#cinst VisualStudioCommunity2013 | |
#cinst VS2013.4 | |
cinst VS2013.VSCommands | |
cinst visualstudio2013-sdk | |
cinst cloc | |
cinst expresso | |
cinst nunit | |
#cinst xunit | |
cinst dotpeek | |
cinst resharper | |
cinst WinMerge | |
#cinst cmake | |
#cinst tfs2013powertools | |
#==================================================== | |
# Web Development | |
#cinst nodejs.install | |
#cinst Yeoman | |
cinst fiddler4 | |
#==================================================== | |
# Android Development | |
cinst java.jdk | |
cinst AndroidStudio | |
cinst android-sdk | |
#cinst xamarin-studio | |
#==================================================== | |
# Python | |
cinst python | |
#cinst python2 | |
#==================================================== | |
# Ruby | |
cinst ruby | |
cinst ruby.devkit | |
cinst Compass | |
cinst sass | |
#==================================================== | |
# File Associations | |
Install-ChocolateyFileAssociation ".txt" "${env:ProgramFiles(x86)}\Notepad++\Notepad++.exe" | |
Install-ChocolateyFileAssociation ".xml" "${env:ProgramFiles(x86)}\Notepad++\Notepad++.exe" | |
Install-ChocolateyFileAssociation ".nuspec" "${env:ProgramFiles(x86)}\Notepad++\Notepad++.exe" | |
Install-ChocolateyFileAssociation ".config" "${env:ProgramFiles(x86)}\Notepad++\Notepad++.exe" | |
#==================================================== | |
# Pin to the taskbar | |
Install-ChocolateyPinnedTaskBarItem "$($Boxstarter.programFiles)\Google\Chrome\Application\chrome.exe" | |
Install-ChocolateyPinnedTaskBarItem "$($Boxstarter.programFiles86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe" | |
Install-ChocolateyPinnedTaskBarItem "$($Boxstarter.programFiles86)\Evernote\Evernote\evernote.exe" | |
Install-ChocolateyPinnedTaskBarItem "$($Boxstarter.programFiles86)\Notepad++\Notepad++.exe" | |
#==================================================== | |
# Install Visual Studio Extensions | |
#Install-ChocolateyVsixPackage add-empty-file https://visualstudiogallery.msdn.microsoft.com/3f820e99-6c0d-41db-aa74-a18d9623b1f3/file/140782/6/AddAnyFile.vsix | |
#Install-ChocolateyVsixPackage boost-test-adapter https://visualstudiogallery.msdn.microsoft.com/5f4ae1bd-b769-410e-8238-fb30beda987f/file/105652/19/BoostUnitTestAdapter.vsix | |
Install-ChocolateyVsixPackage web-essentials https://visualstudiogallery.msdn.microsoft.com/6ed4c78f-a23e-49ad-b5fd-369af0c2107f/file/50769/32/WebEssentials.vsix | |
#Install-ChocolateyVsixPackage chutzpah https://visualstudiogallery.msdn.microsoft.com/f8741f04-bae4-4900-81c7-7c9bfb9ed1fe/file/66979/28/Chutzpah.VS2012.vsix | |
Install-ChocolateyVsixPackage editor-config https://visualstudiogallery.msdn.microsoft.com/c8bccfe2-650c-4b42-bc5c-845e21f96328/file/75539/12/EditorConfigPlugin.vsix | |
#Install-ChocolateyVsixPackage file-nesting https://visualstudiogallery.msdn.microsoft.com/3ebde8fb-26d8-4374-a0eb-1e4e2665070c/file/123284/11/FileNesting.vsix | |
#Install-ChocolateyVsixPackage grunt-launcher https://visualstudiogallery.msdn.microsoft.com/dcbc5325-79ef-4b72-960e-0a51ee33a0ff/file/109075/17/GruntLauncher.vsix | |
Install-ChocolateyVsixPackage multi-editing https://visualstudiogallery.msdn.microsoft.com/2beb9705-b568-45d1-8550-751e181e3aef/file/93630/8/MultiEdit.vsix | |
Install-ChocolateyVsixPackage nunit-test-adapter https://visualstudiogallery.msdn.microsoft.com/6ab922d0-21c0-4f06-ab5f-4ecd1fe7175d/file/66177/15/NUnitVisualStudioTestAdapter-1.2.vsix | |
#Install-ChocolateyVsixPackage package-intellisense https://visualstudiogallery.msdn.microsoft.com/65748cdb-4087-497e-a394-2e3449c8e61e/file/138140/11/JSON%20Intellisense.vsix | |
#Install-ChocolateyVsixPackage side-waffle https://visualstudiogallery.msdn.microsoft.com/a16c2d07-b2e1-4a25-87d9-194f04e7a698/referral/110630 | |
#Install-ChocolateyVsixPackage fsharp-power-tools https://visualstudiogallery.msdn.microsoft.com/136b942e-9f2c-4c0b-8bac-86d774189cff/file/124201/24/FSharpVSPowerTools.vsix | |
#Install-ChocolateyVsixPackage vs-installer-projects https://visualstudiogallery.msdn.microsoft.com/9abe329c-9bba-44a1-be59-0fbf6151054d/file/130817/3/VSI_bundle.exe | |
#Install-ChocolateyVsixPackage rebracer https://visualstudiogallery.msdn.microsoft.com/410e9b9f-65f3-4495-b68e-15567e543c58/file/120672/4/Rebracer.vsix | |
#==================================================== | |
# Windows Features | |
#cinst Microsoft-Hyper-V-All -source windowsFeatures | |
cinst IIS-WebServerRole -source windowsfeatures | |
#==================================================== | |
# Windows Update | |
Install-WindowsUpdate -getUpdatesFromMS -acceptEula -SuppressReboots | |
#==================================================== | |
# Scaffold out folder system | |
if (!(Test-Path -Path C:\src )) { | |
mkdir C:\src | |
} | |
if (!(Test-Path -Path C:\src\nunit )) { | |
mkdir C:\src\nunit | |
} | |
if (!(Test-Path -Path C:\src\alteridem )) { | |
mkdir C:\src\alteridem | |
} | |
if (!(Test-Path -Path C:\src\3rdParty )) { | |
mkdir C:\src\3rdParty | |
} | |
if (!(Test-Path -Path C:\src\learning )) { | |
mkdir C:\src\learning | |
} | |
if (!(Test-Path -Path C:\src\spikes )) { | |
mkdir C:\src\spikes | |
} | |
if (!(Test-Path -Path C:\bin )) { | |
mkdir C:\bin | |
} | |
if (!(Test-Path -Path C:\tmp )) { | |
mkdir C:\tmp | |
} | |
#==================================================== | |
# Last because they won't auto-install | |
#cinst uTorrent | |
if (Test-PendingReboot) { Invoke-Reboot } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment