Skip to content

Instantly share code, notes, and snippets.

@timcunningham
Last active January 7, 2020 15:39
Show Gist options
  • Save timcunningham/0efb9011202d3f3e533c65b1bcb13102 to your computer and use it in GitHub Desktop.
Save timcunningham/0efb9011202d3f3e533c65b1bcb13102 to your computer and use it in GitHub Desktop.
Boxstarter Commands for a New Windows Box
# Description: Boxstarter Script
# Author: Jess Frazelle <jess@linux.com>
# Modified: Tim Cunningham <timcunningham71@gmail.com>
# Last Updated: 2020-01-02
#
# 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
#---- TEMPORARY ---
Disable-UAC
Set-TimeZone -Name "Eastern Standard Time" -Verbose
#--- Fonts ---
choco install inconsolata -y
#--- Windows Subsystems/Features ---
choco install Microsoft-Hyper-V-All -source windowsFeatures
choco install Microsoft-Windows-Subsystem-Linux -source windowsfeatures
#--- Tools ---
choco install sysinternals -y
#--- Apps ---
choco install git -params '"/GitAndUnixToolsOnPath"'
choco install googlechrome -y
choco upgrade conemu -y
choco install notepadplusplus -y
choco install slack
#choco install office365proplus
choco install postman
choco install winmerge
choco install heidisql
choco install dbeaver
choco install wsl-ubuntu-1804 -y
choco install vscode -y
choco install vscode-powershell -y
choco install putty
choco install packer -y
choco install jre8 -y
choco install commandbox -y
choco install shrewsoftvpn -y
choco install avastfreeantivirus -y
choco install curl -y
choco install wget -y
#--- VM / Vagrant tools ---
#choco install virtualbox -y
#choco install vagrant -y
#choco install vagrant-manager -y
#--- Windows Settings ---
Disable-GameBarTips
Enable-PSRemoting -SkipNetworkProfileCheck -Force
Update-Help
Get-AppxPackage -allusers *windowscalculator* | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}
Get-AppxPackage -allusers Microsoft.WindowsStore | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
#--- Download windows preferences script and run forked from Disassembler0/Win10-Initial-Setup-Script ---
if(Test-Path "Win10-Initial-Setup-Script"){
Remove-Item -Recurse -Force Win10-Initial-Setup-Script
}
git clone https://github.com/timcunningham/Win10-Initial-Setup-Script.git
cd Win10-Initial-Setup-Script
.\Default.cmd
cd ..
Remove-Item -Recurse -Force Win10-Initial-Setup-Script
#--- Get Windows Updates
Install-WindowsUpdate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment