Skip to content

Instantly share code, notes, and snippets.

@marcduiker
Last active July 31, 2017 12:50
Show Gist options
  • Save marcduiker/18d6607c401eb1861e0dd0971f467fdb to your computer and use it in GitHub Desktop.
Save marcduiker/18d6607c401eb1861e0dd0971f467fdb to your computer and use it in GitHub Desktop.
# DESCRIPTION
# Boxstarter script with limited set of tooling relevant for .Net (web)development.
# This script is used in combination with a Windows 10 Development image obtained
# from https://developer.microsoft.com/en-us/windows/downloads/virtual-machines.
#
# USAGE
# Run the following command in cmd window or PowerShell with elevated access:
# START http://boxstarter.org/package/nr/url?<link to raw gist>
#
# PREREQUISITES
# - Chocolatey (https://chocolatey.org/install)
$Boxstarter.RebootOk=$true
$Boxstarter.NoPassword=$false
$Boxstarter.AutoLogin=$true
Update-ExecutionPolicy Unrestricted
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions -EnableShowFullPathInTitleBar -EnableOpenFileExplorerToQuickAccess -EnableShowRecentFilesInQuickAccess -EnableShowFrequentFoldersInQuickAccess -EnableExpandToOpenFolder
Disable-UAC
Set-TaskbarOptions -Size Small
if (Test-PendingReboot) { Invoke-Reboot }
# Update Windows and reboot if necessary
Install-WindowsUpdate -AcceptEula
if (Test-PendingReboot) { Invoke-Reboot }
Enable-WindowsOptionalFeature -online -featurename IIS-WebServerRole
if (Test-PendingReboot) { Invoke-Reboot }
# Browsers
cinst googlechrome
cinst firefox
# Utils
cinst 7zip
cinst greenshot
cinst ditto
# Dev tools
cinst git
cinst poshgit
cinst sourcetree
cinst winmerge
cinst notepadplusplus
cinst visualstudiocode
cinst linqpad
cinst ilspy
cinst prefix
cinst nuget.commandline
cinst nugetpackageexplorer
cinst nodejs
# Ops tools
cinst sysinternals
cinst rdcman
# Web tools
cinst fiddler4
cinst ngrok.portable
# Databases
cinst mssqlserver2014express
cinst mssqlservermanagementstudio2014express
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment