50 lines
1.9 KiB
PowerShell
50 lines
1.9 KiB
PowerShell
# Description: Boxstarter Script
|
|
# Author: Microsoft
|
|
# Common dev settings for web development
|
|
|
|
Disable-UAC
|
|
|
|
#--- Windows Features ---
|
|
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
|
|
|
|
#--- File Explorer Settings ---
|
|
Set-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name NavPaneExpandToCurrentFolder -Value 1
|
|
Set-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name NavPaneShowAllFolders -Value 1
|
|
Set-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name LaunchTo -Value 1
|
|
Set-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name MMTaskbarMode -Value 2
|
|
|
|
#--- Tools ---
|
|
choco install -y visualstudiocode
|
|
choco install -y git -params '"/GitAndUnixToolsOnPath /WindowsTerminal"'
|
|
choco install -y 7zip.install
|
|
|
|
#--- Windows Subsystems/Features ---
|
|
choco install -y Microsoft-Hyper-V-All -source windowsFeatures
|
|
choco install -y Microsoft-Windows-Subsystem-Linux -source windowsfeatures
|
|
|
|
#--- Ubuntu ---
|
|
# Invoke-WebRequest -Uri https://aka.ms/wsl-ubuntu-1604 -OutFile ~/Ubuntu.appx -UseBasicParsing
|
|
# Add-AppxPackage -Path ~/Ubuntu.appx
|
|
|
|
#--- Browsers ---
|
|
choco install -y Firefox
|
|
choco install -y Googlechrome
|
|
|
|
#--- Fonts ---
|
|
choco install -y inconsolata
|
|
# choco install -y ubuntu.font
|
|
|
|
#--- Tools ---
|
|
choco install -y nodejs-lts # Node.js LTS, Recommended for most users
|
|
# choco install -y nodejs # Node.js Current, Latest features
|
|
choco install -y visualstudio2017buildtools
|
|
choco install -y visualstudio2017-workload-vctools
|
|
choco install -y sysinternals
|
|
choco install -y docker-for-windows
|
|
choco install -y python2 # Node.js requires Python 2 to build native modules
|
|
choco install -y pip
|
|
|
|
Enable-UAC
|
|
Enable-MicrosoftUpdate
|
|
Install-WindowsUpdate -acceptEula
|