Last active
November 24, 2023 17:43
-
-
Save bjacobowski/390c7c5e21cadff6550d to your computer and use it in GitHub Desktop.
Boxstarter
This file contains hidden or 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
try { | |
Install-WindowsUpdate -AcceptEula | |
Update-ExecutionPolicy Unrestricted | |
Move-LibraryDirectory "Personal" "$env:UserProfile\google drive\documents" | |
Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions | |
Set-TaskbarSmall | |
Enable-RemoteDesktop | |
#utilities | |
cinst 7zip | |
cinst f.lux | |
cinst silverlight | |
cinst teracopy | |
cinst wincommandpaste | |
#security | |
cinst adwcleaner | |
cinst avgantivirusfree | |
cinst ccleaner | |
cinst spybot | |
#storage | |
cinst dropbox | |
cinst googledrive | |
cinst mysql | |
cinst postgresql | |
cinst sqlite | |
#languages | |
cinst autohotkey | |
cinst autoit | |
cinst clisp | |
cinst erlang | |
cinst haskellplatform | |
cinst nodejs | |
cinst python | |
cinst python2 | |
cinst powershell | |
cinst r.project | |
cinst ruby | |
cinst scala | |
#development | |
cinst cmder | |
cinst cygwin | |
cinst dependencywalker | |
cinst espresso | |
cinst far | |
cinst fiddler | |
cinst git | |
cinst githubforwindows | |
cinst git-credential-winstore | |
cinst emacs | |
cinst hg | |
cinst kdiff3 | |
cinst poshgit | |
cinst posh-github | |
cinst putty | |
cinst pycharm | |
cinst pip | |
cinst openssl.light | |
cinst sourcecodepro | |
cinst scite4autohotkey | |
cinst vcredist2005 | |
cinst vcredist2008 | |
cinst vcredist2010 | |
cinst vcredist2012 | |
cinst vim | |
cinst sysinternals | |
#cinst tortoisehg | |
#cinst tortoisegit | |
cinst utorrent | |
cinst windbg | |
cinst winmerge | |
#browsers | |
cinst firefox | |
cinst googlechrome | |
#accessories | |
cinst adobereader | |
cinst gimp | |
cinst mp3tag | |
cinst nimbletext | |
cinst paint.net | |
cinst sublimetext3 | |
cinst vlc | |
$chrome = convert-path (ls "$env:localappdata\" -recurse -include "chrome.exe")[0].pspath | |
If ($chrome -ne "") | |
{ | |
Install-ChocolateyPinnedTaskBarItem $chrome | |
} | |
Install-ChocolateyPinnedTaskBarItem "$env:programfiles(x86)\microsoft office\office14\excel.exe" | |
$conemu = (ls "$env:programfiles\conemu" | where name -like "conemu*.exe")[0].name | |
Install-ChocolateyPinnedTaskBarItem "$env:programfiles\conemu\$conemu" | |
#bloomberg | |
$cfgFile = "[Options]`r`nMaindir = c:\blp`r`nKeyboard = YES`r`nLaunch = YES`r`nProgram Group = Bloomberg`r`nSwitch = NO`r`n`r`n[Connection Settings]`r`nConn_type = B" | |
$cfgPath = (join-path $env:temp 'setup.blp') | |
$cfgFile | Out-File $cfgPath | |
$silentArgs = "/s /cfg=$cfgPath" | |
$pathToBlp = ((invoke-webrequest -uri 'http://www.bloomberg.com/professional/systems-support/downloads/').links | where innerhtml -like "*New Installation*").href[0] | |
Install-ChocolateyInstallPackage 'blp' 'exe' $silentArgs $pathToBlp | |
Install-ChocolateyPinnedTaskBarItem "C:\blp\Wintrv\WINTRV.EXE" | |
$sublime = convert-path (ls "$env:programfiles\sublime*" -recurse -include "sublime*.exe")[0].pspath | |
Install-ChocolateyFileAssociation ".txt" $sublime | |
Write-ChocolateySuccess 'DevBuild' | |
} catch { | |
Write-ChocolateyFailure 'DevBuild' $($_.Exception.Message) | |
throw | |
} |
This file contains hidden or 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
try { | |
Install-WindowsUpdate -AcceptEula | |
Update-ExecutionPolicy Unrestricted | |
Move-LibraryDirectory "Personal" "$env:UserProfile\google drive\documents" | |
Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions | |
Set-TaskbarSmall | |
Enable-RemoteDesktop | |
#utilities | |
cinst 7zip | |
cinst f.lux | |
cinst silverlight | |
cinst wincommandpaste | |
cinst teracopy | |
#security | |
cinst avgantivirusfree | |
cinst ccleaner | |
cinst spybot | |
#storage | |
cinst dropbox | |
cinst googledrive | |
cinst sqlite | |
#browsers | |
cinst firefox | |
cinst googlechrome | |
#accessories | |
cinst adobereader | |
cinst gimp | |
cinst mp3tag | |
cinst paint.net | |
cinst sublimetext3 | |
cinst vlc | |
$chrome = convert-path (ls "$env:localappdata\" -recurse -include "chrome.exe")[0].pspath | |
If ($chrome -ne "") | |
{ | |
Install-ChocolateyPinnedTaskBarItem $chrome | |
} | |
Install-ChocolateyPinnedTaskBarItem "$env:programfiles(x86)\microsoft office\office14\excel.exe" | |
#bloomberg | |
$cfgFile = "[Options]`r`nMaindir = c:\blp`r`nKeyboard = YES`r`nLaunch = YES`r`nProgram Group = Bloomberg`r`nSwitch = NO`r`n`r`n[Connection Settings]`r`nConn_type = B" | |
$cfgPath = (join-path $env:temp 'setup.blp') | |
$cfgFile | Out-File $cfgPath | |
$silentArgs = "/s /cfg=$cfgPath" | |
$pathToBlp = ((invoke-webrequest -uri 'http://www.bloomberg.com/professional/systems-support/downloads/').links | where innerhtml -like "*New Installation*").href[0] | |
Install-ChocolateyInstallPackage 'blp' 'exe' $silentArgs $pathToBlp | |
Install-ChocolateyPinnedTaskBarItem "C:\blp\Wintrv\WINTRV.EXE" | |
$sublime = convert-path (ls "$env:programfiles\sublime*" -recurse -include "sublime*.exe")[0].pspath | |
Install-ChocolateyFileAssociation ".txt" $sublime | |
Write-ChocolateySuccess 'RegularBuild' | |
} catch { | |
Write-ChocolateyFailure 'RegularBuild' $($_.Exception.Message) | |
throw | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment