Last active
March 13, 2019 20:33
-
-
Save jstrassburg/766ece58f4cbc0819472ab53b4b0e1e0 to your computer and use it in GitHub Desktop.
Boxstarter Personal PC
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
# Description: Boxstarter Script | |
# | |
# 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 Temporary Settings | |
Disable-UAC | |
#--- Windows Settings --- | |
Disable-BingSearch | |
Disable-GameBarTips | |
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions -EnableShowFullPathInTitleBar | |
Set-TaskbarOptions -Size Small -Dock Bottom -Combine Always -Lock | |
Set-TaskbarOptions -Size Small -Dock Bottom -Combine Always -AlwaysShowIconsOn | |
#--- Windows Subsystems/Features --- | |
choco install Microsoft-Windows-Subsystem-Linux -source windowsfeatures | |
# Create AppModelUnlock if it doesn't exist, required for enabling Developer Mode | |
$RegistryKeyPath = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock" | |
if (-not(Test-Path -Path $RegistryKeyPath)) { | |
New-Item -Path $RegistryKeyPath -ItemType Directory -Force | |
} | |
# Add registry value to enable Developer Mode | |
New-ItemProperty -Path $RegistryKeyPath -Name AllowDevelopmentWithoutDevLicense -PropertyType DWORD -Value 1 | |
#--- Tools --- | |
choco config set cachelocation "$env:Home\AppData\Local\Temp\chocolatey" | |
choco install choco-cleaner -y | |
choco install git -params '"/GitAndUnixToolsOnPath /WindowsTerminal"' -y | |
choco install sysinternals -y | |
choco install 7zip -y | |
choco install keepass -y | |
choco install conemu -y | |
choco install notepad2 -y | |
choco install slack -y | |
choco install jetbrainstoolbox -y | |
choco install visualstudiocode -y | |
choco install greenshot -y | |
choco install googlechrome -y | |
choco install dropbox -y | |
choco install poshgit -y | |
choco install python2 -y | |
choco install golang -y | |
choco install evernote -y | |
choco install itunes -y | |
choco install python -y | |
choco install calibre -y | |
# Remove Win10 nonsense | |
Get-AppxPackage Microsoft.BingFinance | Remove-AppxPackage | |
Get-AppxPackage Microsoft.BingNews | Remove-AppxPackage | |
Get-AppxPackage Microsoft.BingSports | Remove-AppxPackage | |
Get-AppxPackage Microsoft.BingWeather | Remove-AppxPackage | |
Get-AppxPackage *BubbleWitch* | Remove-AppxPackage | |
Get-AppxPackage king.com.CandyCrush* | Remove-AppxPackage | |
Get-AppxPackage Microsoft.CommsPhone | Remove-AppxPackage | |
Get-AppxPackage Microsoft.ZuneMusic | Remove-AppxPackage | |
Get-AppxPackage Microsoft.XboxApp | Remove-AppxPackage | |
Get-AppxPackage Microsoft.XboxIdentityProvider | Remove-AppxPackage | |
Get-AppxPackage Microsoft.3DBuilder Remove-AppxPackage | |
#--- Invert all Mouse Wheels | |
Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Enum\HID\*\*\Device` Parameters FlipFlopWheel -EA 0 | ForEach-Object { Set-ItemProperty $_.PSPath FlipFlopWheel 1 } | |
#--- Restore Temporary Settings --- | |
Enable-UAC |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment