-
Notifications
You must be signed in to change notification settings - Fork 0
/
InstallMyMachine-Home.ps1
63 lines (54 loc) · 1.56 KB
/
InstallMyMachine-Home.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
57
58
59
60
61
62
63
# Description: Boxstarter Script for Home machine
# Author: Patrick McElreavy
# Based off https://github.com/laurentkempe/Cacao
Disable-UAC
#--- Windows Features ---
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
# Install PowerShell Modules
Install-Module -Name PSColor
#--- 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 HideFileExt -Value 0
#--- Windows Subsystems/Features ---
choco install -y Microsoft-Hyper-V-All -source windowsFeatures
choco install -y Microsoft-Windows-Subsystem-Linux -source windowsfeatures
#--- Define Packages to Install ---
$Packages = `
'GoogleChrome',`
'brave',`
'7zip',`
'etcher',`
'far',`
'git',`
'notepadplusplus',`
'nodejs',`
'FiraCode',`
'Firefox',`
'eac',`
'lame',`
'mediamonkey',`
'mkvtoolnix',`
'putty',`
'renamer',`
'rapidee',`
'teamviewer',`
'trillian',`
'vlc'`
'paint.net',`
'f.lux',`
'wiztree',`
'powerpanel-personal',`
'displayfusion',`
'4k-video-downloader',`
'zoxide',`
'fzf',`
'discord',`
'powershell-core'
#--- Install Packages ---
ForEach ($PackageName in $Packages) {
choco install $PackageName -y
}
Enable-UAC
Enable-MicrosoftUpdate
Install-WindowsUpdate -acceptEula