Files
windows-dev-box-setup-scripts/dev_web.ps1
Gary Ewan Park d2303994c3 (GH-11) Added -y to all Chocolatey calls
- Used the same style as per this commit: 4ab2d140ab
2018-05-01 13:17:09 +01:00

66 lines
2.1 KiB
PowerShell

# Description: Boxstarter Script
# Author: Microsoft
# Common dev settings
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 Git-Credential-Manager-for-Windows
choco install -y 7zip.install
#--- Windows Subsystems/Features ---
choco install -y Microsoft-Hyper-V-All -source windowsFeatures
# Your system will prompt you to restart
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
#--- Ubuntu ---
Invoke-WebRequest -Uri https://aka.ms/wsl-ubuntu-1604 -OutFile ~/Ubuntu.appx -UseBasicParsing
Add-AppxPackage -Path ~/Ubuntu.appx
Ubuntu.exe
<#
#--- SLES ---
# Install SLES Store app
Invoke-WebRequest -Uri https://aka.ms/wsl-sles-12 -OutFile ~/SLES.appx -UseBasicParsing
Add-AppxPackage -Path ~/SLES.appx
# Launch SLES
sles-12.exe
# --- openSUSE ---
Invoke-WebRequest -Uri https://aka.ms/wsl-opensuse-42 -OutFile ~/openSUSE.appx -UseBasicParsing
Add-AppxPackage -Path ~/openSUSE.appx
# Launch openSUSE
opensuse-42.exe
#>
#--- Browsers ---
choco install -y googlechrome
choco install -y firefox
#--- Fonts ---
choco install -y inconsolata
choco install -y ubuntu.font
#--- Tools ---
choco install -y sysinternals
choco install -y docker-for-windows
choco install -y python
choco install -y pip
choco install -y easy.install
Enable-UAC
Enable-MicrosoftUpdate
Install-WindowsUpdate -acceptEula