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 | |
| cinstm 7zip | |
| cinstm f.lux | |
| cinstm silverlight | |
| cinstm teracopy | |
| cinstm wincommandpaste | |
| #security | |
| cinstm adwcleaner | |
| cinstm avgantivirusfree | |
| cinstm ccleaner | |
| cinstm spybot | |
| #storage | |
| cinstm dropbox | |
| cinstm googledrive | |
| cinstm mysql | |
| cinstm postgresql | |
| cinstm sqlite | |
| #languages | |
| cinstm autohotkey | |
| cinstm autoit | |
| cinstm clisp | |
| cinstm erlang | |
| cinstm haskellplatform | |
| cinstm nodejs | |
| cinstm python | |
| cinstm python2 | |
| cinstm powershell | |
| cinstm r.project | |
| cinstm ruby | |
| cinstm scala | |
| #development | |
| cinstm cmder | |
| cinstm cygwin | |
| cinstm dependencywalker | |
| cinstm espresso | |
| cinstm far | |
| cinstm fiddler | |
| cinstm git | |
| cinstm githubforwindows | |
| cinstm git-credential-winstore | |
| cinstm emacs | |
| cinstm hg | |
| cinstm kdiff3 | |
| cinstm poshgit | |
| cinstm posh-github | |
| cinstm putty | |
| cinstm pycharm | |
| cinstm pip | |
| cinstm openssl.light | |
| cinstm sourcecodepro | |
| cinstm scite4autohotkey | |
| cinstm vcredist2005 | |
| cinstm vcredist2008 | |
| cinstm vcredist2010 | |
| cinstm vcredist2012 | |
| cinstm vim | |
| cinstm sysinternals | |
| #cinstm tortoisehg | |
| #cinstm tortoisegit | |
| cinstm utorrent | |
| cinstm windbg | |
| cinstm winmerge | |
| #browsers | |
| cinstm firefox | |
| cinstm googlechrome | |
| #accessories | |
| cinstm adobereader | |
| cinstm gimp | |
| cinstm mp3tag | |
| cinstm nimbletext | |
| cinstm paint.net | |
| cinstm sublimetext3 | |
| cinstm vlc | |
| Install-ChocolateyPinnedTaskBarItem "$env:programfiles(x86)\google\chrome\application\chrome.exe" | |
| Install-ChocolateyPinnedTaskBarItem "$env:programfiles(x86)\microsoft office\office14\excel.exe" | |
| $conemu = (ls "$env:programfiles\conemu" | where name -like "*.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 | |
| cinstm 7zip | |
| cinstm f.lux | |
| cinstm silverlight | |
| cinstm wincommandpaste | |
| cinstm teracopy | |
| #security | |
| cinstm avgantivirusfree | |
| cinstm ccleaner | |
| cinstm spybot | |
| #storage | |
| cinstm dropbox | |
| cinstm googledrive | |
| cinstm sqlite | |
| #browsers | |
| cinstm firefox | |
| cinstm googlechrome | |
| #accessories | |
| cinstm adobereader | |
| cinstm gimp | |
| cinstm mp3tag | |
| cinstm paint.net | |
| cinstm sublimetext3 | |
| cinstm vlc | |
| Install-ChocolateyPinnedTaskBarItem "$env:programfiles(x86)\google\chrome\application\chrome.exe" | |
| 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