Skip to content

Instantly share code, notes, and snippets.

@jreypo
Last active May 19, 2020
Embed
What would you like to do?
Boxstarter script for quick Windows 10 setup
# Description: Boxstarter Script
# Author: Juan Manuel Rey <juanmanuel.reyportal@gmail.com>
#
# Heavily based on Jess Frazz Boxstarter gist https://gist.github.com/jessfraz/7c319b046daa101a4aaef937a20ff41f
#
# Install boxstarter:
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force
#
# You might need to set: Set-ExecutionPolicy RemoteSigned
#
# Run this boxstarter by calling the following from an **elevated** command-prompt:
# start http://boxstarter.org/package/nr/url?<URL-TO-RAW-GIST>
# OR
# Install-BoxstarterPackage -PackageName <URL-TO-RAW-GIST> -DisableReboots
#
# Learn more: http://boxstarter.org/Learn/WebLauncher
## Disable UAC for Boxstarter
Disable-UAC
## Windows Settings
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowFileExtensions
Set-TaskbarOptions -Size Small -Dock Bottom -Combine Always -Lock
## Insall Windows Features
cinst VirtualMachinePlatform -source windowsFeatures
cinst wsl
cinst Microsoft-Hyper-V-All -source windowsFeatures
cinst Containers -source windowsFeatures
## Install utilities
cinst googlechrome
cinst 7zip.install
cinst sysinternals -y
cinst microsoftazurestorageexplorer
cinst slack
cinst hackfont-windows
## Developer tools
cinst git.install -params "/GitOnlyOnPath /NoShellHereIntegration /NoGUiHereIntegration /NoAutoCrlf"
cinst wsltty
cinst postman
cinst docker-desktop --pre
cinst github-desktop
cinst python2 -y
cinst nodejs -y
cinst dotnetcore-sdk
cinst golang
cinst poshgit
cinst azure-functions-core-tools
# Visutal Studio Code
cinst vscode
cinst vscode-powershell
## Powershell Modules
cinst az.powershell
## Uninstall applications that come with Windows out of the box
# Candy Crush Saga
Get-AppxPackage king.com.CandyCrushSaga | Remove-AppxPackage
# Bing Weather, News, Sports, and Finance (Money):
# Get-AppxPackage Microsoft.BingWeather | Remove-AppxPackage
# Get-AppxPackage Microsoft.BingNews | Remove-AppxPackage
Get-AppxPackage Microsoft.BingSports | Remove-AppxPackage
# Get-AppxPackage Microsoft.BingFinance | Remove-AppxPackage
# Windows Phone Companion
Get-AppxPackage Microsoft.WindowsPhone | Remove-AppxPackage
# Solitaire Collection
Get-AppxPackage Microsoft.MicrosoftSolitaireCollection | Remove-AppxPackage
# Groove Music
Get-AppxPackage Microsoft.ZuneMusic | Remove-AppxPackage
# Movies & TV
# Get-AppxPackage Microsoft.ZuneVideo | Remove-AppxPackage
# Photos
# Get-AppxPackage Microsoft.Windows.Photos | Remove-AppxPackage
# Mail & Calendar
#Get-AppxPackage microsoft.windowscommunicationsapps | Remove-AppxPackage
# 3D Builder
Get-AppxPackage Microsoft.3DBuilder | Remove-AppxPackage
# Alarms
# Get-AppxPackage Microsoft.WindowsAlarms | Remove-AppxPackage
# Autodesk
Get-AppxPackage *Autodesk* | Remove-AppxPackage
# Get Started
Get-AppxPackage Microsoft.Getstarted | Remove-AppxPackage
# Maps
# Get-AppxPackage Microsoft.WindowsMaps | Remove-AppxPackage
# March of Empires
Get-AppxPackage *MarchofEmpires* | Remove-AppxPackage
## Restore Temporary Settings
Enable-UAC
Enable-MicrosoftUpdate
Install-WindowsUpdate -acceptEula
## Rename the Computer
# Requires restart, or add the -Restart flag
$computername = "trantor"
if ($env:computername -ne $computername) {
Rename-Computer -NewName $computername
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment