Last active
January 18, 2020 17:59
-
-
Save raelyard/4b1f669d358618388f97a86f6918d01a to your computer and use it in GitHub Desktop.
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
# to execute: | |
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force | |
# Install-BoxstarterPackage -PackageName https://gist.githubusercontent.com/raelyard/4b1f669d358618388f97a86f6918d01a/raw/ -DisableReboots | |
# Windows Explorer has undesirable defaults - fix for this installation: | |
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions -EnableShowFullPathInTitleBar -DisableOpenFileExplorerToQuickAccess -EnableShowFrequentFoldersInQuickAccess | |
# Hyper-V, .NET, IIS and friends | |
choco install -y Microsoft-Hyper-V-All -source WindowsFeatures | |
choco install -y Containers -source WindowsFeatures | |
choco install -y dotnetfx | |
choco install -y dotnetcore-sdk | |
choco install -y IIS-WebServerRole -source WindowsFeatures | |
choco install -y IIS-WebServer -source WindowsFeatures | |
choco install -y IIS-Security -source WindowsFeatures | |
choco install -y IIS-BasicAuthentication -source WindowsFeatures | |
choco install -y IIS-DefaultDocument -source WindowsFeatures | |
choco install -y IIS-DigestAuthentication -source WindowsFeatures | |
choco install -y IIS-DirectoryBrowsing -source WindowsFeatures | |
choco install -y IIS-HttpErrors -source WindowsFeatures | |
choco install -y IIS-HttpLogging -source WindowsFeatures | |
choco install -y IIS-HttpRedirect -source WindowsFeatures | |
choco install -y IIS-ManagementConsole -source WindowsFeatures | |
choco install -y IIS-IPSecurity -source WindowsFeatures | |
choco install -y IIS-ISAPIExtensions -source WindowsFeatures | |
choco install -y IIS-ISAPIFilter -source WindowsFeatures | |
choco install -y IIS-LoggingLibraries -source WindowsFeatures | |
choco install -y IIS-CustomLogging -source WindowsFeatures | |
choco install -y IIS-IIS6ManagementCompatibility -source WindowsFeatures | |
choco install -y IIS-Metabase -source WindowsFeatures | |
choco install -y IIS-NetFxExtensibility -source WindowsFeatures | |
choco install -y IIS-RequestFiltering -source WindowsFeatures | |
choco install -y IIS-RequestMonitor -source WindowsFeatures | |
choco install -y IIS-StaticContent -source WindowsFeatures | |
choco install -y IIS-HttpCompressionStatic -source WindowsFeatures | |
choco install -y IIS-HttpCompressionDynamic -source WindowsFeatures | |
choco install -y IIS-HttpTracing -source WindowsFeatures | |
choco install -y IIS-WindowsAuthentication -source WindowsFeatures | |
choco install -y IIS-WebSockets -source WindowsFeatures | |
# Windows Subsystem For Linux | |
choco install -y Microsoft-Windows-Subsystem-Linux -source WindowsFeatures | |
# now start the software packages | |
choco install -y tortoisehg | |
choco install -y googlechrome | |
choco install -y 7Zip | |
choco install -y adobereader | |
choco install -y atom | |
choco install -y awstools.powershell | |
choco install -y AzureStorageExplorer | |
choco install -y clipx | |
choco install -y ConEmu | |
choco install -y cmder -pre | |
choco install -y curl | |
choco install -y docker-desktop | |
choco install -y evernote | |
choco install -y fiddler | |
choco install -y firefox | |
choco install -y jetbrains-rider | |
choco install -y lastpass | |
choco install -y git | |
choco install -y githubforwindows | |
choco install -y vim | |
choco install -y kickassvim | |
choco install -y kindle | |
choco install -y lockhunter | |
choco install -y ngrok.portable | |
choco install -y nodejs | |
choco install -y notepadplusplus | |
choco install -y nuget.commandline | |
choco install -y papercut | |
choco install -y python | |
choco install -y python2 | |
choco install -y poshgit | |
choco install -y Posh-HG | |
choco install -y pscx | |
choco install -y Roundhouse | |
choco install -y sendtokindle | |
choco install -y Slack | |
choco install -y sysinternals | |
choco install -y vagrant | |
choco install -y visualstudiocode | |
choco install -y WebStorm | |
choco install -y windbg | |
choco install -y windirstat | |
choco install -y WindowsAzurePowershell | |
choco install -y winmerge | |
# Visual Studio and friends | |
choco install -y visualstudio2019professional --package-parameters "--allWorkloads --includeRecommended --includeOptional --passive --locale en-US" | |
choco install -y resharper | |
choco install -y sql-server-management-studio | |
# set up a local Nuget package source | |
new-item C:\packages -type directory | |
nuget source add -Name Local -source C:\packages | |
# configure git identity | |
git config --global user.name "Dave Rael" | |
git config --global user.email "[email protected]" | |
git config --global credential.helper wincred | |
git config --global --bool pull.rebase true | |
# make WinMerge my git difftool tool of choice | |
git config --global diff.tool "winmerge" | |
git config --global difftool.prompt "false" | |
git config --global difftool.winmerge.cmd 'winmergeu.exe -e -u -x -wl -dl base \"$LOCAL\" \"$REMOTE\"' | |
# but also set config to switch to other difftool/mergetool options to switch when desired | |
git config --global difftool.vsdiffmerge.cmd '\"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\vsdiffmerge.exe\" \"$LOCAL\" \"$REMOTE\" //t' | |
git config --global mergetool.vsdiffmerge.cmd '\"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\vsdiffmerge.exe\" \"$REMOTE\" \"$LOCAL\" \"$BASE\" \"$MERGED\" //m' | |
# useful git log alias | |
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr - %cd) %C(bold blue)<%an>%Creset' --abbrev-commit --date local" | |
# Jekll and dependencies (depends on having a sound Ruby installation) | |
gem install bundler | |
gem install jekyll | |
gem install wdm | |
# grab my standard configuration | |
new-item C:\Code -type directory | |
set-location C:\Code | |
hg clone https://bitbucket.org/raelyard/setup | |
set-location Setup\PowerShell | |
.\SetPowerShellProfile.ps1 | |
# Install dotnet new templates | |
dotnet new --install ParticularTemplates |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment