-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwindows-setup.ps1
56 lines (42 loc) · 1.45 KB
/
windows-setup.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Small script to set things up on windows
# Remove "Search the web" functionality in the windows search bar.
# Run with admin access.
reg add HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows\Explorer /v DisableSearchBoxSuggestions /t REG_DWORD /d 1
# Install applications
param ($installTypes='base')
# Check out the package manager "Winget" By Microsoft
# https://github.com/microsoft/winget-cli/release
# VS Code
winget install Microsoft.VisualStudioCode
# PowerShell-7: The default powershell that comes along with windows is slooooow
winget install Microsoft.PowerShell
# Git: requires some extra configurations, namely to not add context menus
winget install Git.Git --interactive
# Get from the windows store
# ---
# Windows Terminal :P
# winget install Microsoft.WindowsTerminal
# Python
# winget install Python.Python.3
# ---
foreach ($installType in $installTypes) {
# VLC Media player: Needed to play .mkv files
if ($installType -eq 'vlc') {
winget install VideoLAN.VLC
}
# Mailspring: Is an opensource mail client
if ($installType -eq 'mailspring') {
winget install mailspring
}
# Microsoft office
if ($installType -eq 'office') {
winget install office
}
# Windows Subsystem for Linux (WSL)
if ($installType -eq 'wsl') {
# This is the simplified install version
# Default distro Ubuntu is installed
# Default WSL version == 2
wsl --install
}
}