Last active
January 1, 2016 16:59
-
-
Save snowe2010/8174510 to your computer and use it in GitHub Desktop.
This is my Boxstarter installation script for initial setup of a Windows 7+ box. It's still a work in progress.
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
Update-ExecutionPolicy Unrestricted -Force | |
Disable-UAC | |
Set-TaskbarSmall | |
Set-ExplorerOptions -showHiddenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions | |
Enable-RemoteDesktop | |
# dropbox first so it can start syncing the thousands of files I have | |
cinst dropbox | |
cinst greenshot | |
cinst GoogleChrome | |
cinst javaruntime | |
cinst firefox | |
cinst ccleaner | |
cinst skype | |
cinst windirstat | |
cinst launchy | |
cinst utorrent | |
cinst sumatrapdf | |
cinst steam | |
cinst teracopy | |
cinst everything | |
cinst f.lux | |
cinst mpc-hc | |
cinst cutepdf | |
cinst malwarebytes | |
cinst listary | |
cinst foxitreader | |
cinst irfanview | |
cinst revo.uninstaller | |
cinst winamp | |
cinst itunes | |
cinst atom | |
cinst poshgit | |
cinst consolez | |
cinst gow | |
cinst ansicon | |
cinst ruby.devkit | |
cinst ruby.devkit -version 1.9.3.48400 | |
cinst ruby | |
cinst putty | |
cinst git | |
cinst 7zip | |
cinst nodejs | |
cinst winscp | |
cinst sublimetext3 | |
cinst sublimetext3.packagecontrol | |
# moved installers that don't follow silent flags to the end of installation | |
cinst lastpass | |
cinst spotify | |
# Install newest version of powershell to get Powershell Gallery | |
cinst powershell -pre | |
# Install ZLocation (Like Jump Location but better) | |
Save-Module -Name ZLocation -Path . | |
Install-Module -Name ZLocation | |
rm -Force .\ZLocation | |
Enable-MicrosoftUpdate -acceptEula | |
# Powershell settings for at Home | |
$home_ps = @" | |
# Load posh-git example profile | |
if(Test-Path Function:\Prompt) {Rename-Item Function:\Prompt PrePoshGitPrompt -Force} | |
. 'C:\tools\poshgit\dahlbyk-posh-git-7acc70b\profile.example.ps1' | |
Rename-Item Function:\Prompt PoshGitPrompt -Force | |
function Prompt() {if(Test-Path Function:\PrePoshGitPrompt){++$global:poshScope; New-Item function:\script:Write-host -value "param([object] `$object, `$backgroundColor, `$foregroundColor, [switch] `$nonewline) " -Force | Out-Null;$private:p = PrePoshGitPrompt; if(--$global:poshScope -eq 0) {Remove-Item function:\Write-Host -Force}}PoshGitPrompt} | |
# Load posh-git example profile | |
. 'C:\Users\Tyler\Documents\WindowsPowerShell\Modules\posh-git\profile.example.ps1' | |
Set-alias subl "C:\Program Files\Sublime Text 3\sublime_text.exe" | |
. "$env:Dropbox\dotfiles\_profile.ps1" | |
. "$env:Dropbox\dotfiles\_aliases.ps1" | |
# Load Jump-Location profile | |
Import-Module 'C:\Users\Tyler\Documents\WindowsPowerShell\Modules\Jump.Location\Jump.Location.psd1' | |
"@ | |
# Load my custom powershell settings | |
$home_ps | Set-Content $profile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment