-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathwindows10_devmachine.ps1
More file actions
128 lines (112 loc) · 3.7 KB
/
windows10_devmachine.ps1
File metadata and controls
128 lines (112 loc) · 3.7 KB
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
# RUN COMMANDS BELLOW IN POWERSHELL
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force
# Install-BoxstarterPackage -PackageName https://raw.githubusercontent.com/skkeeper/boxstarter-scripts/master/windows10_devmachine.ps1 -DisableReboots
# The following settings will ask you for your windows password and then
# successfuly reboot the machine everytime it needs to. After Boxstarter is
# done autologin won't be enabled.
#$Boxstarter.RebootOk=$true # Allow reboots?
#$Boxstarter.NoPassword=$false # Is this a machine with no login password?
#$Boxstarter.AutoLogin=$true # Save my password securely and auto-login after a reboot
# Allow running PowerShell scripts
Update-ExecutionPolicy Unrestricted
# Power Options - disable hibernation and disable monitor standby
Write-Host "Configuring power options..."
powercfg -change -monitor-timeout-ac 0
powercfg -change -standby-timeout-ac 0
powercfg -h off
Set-BoxstarterTaskbarOptions -Size Small -Dock Top
Set-WindowsExplorerOptions -EnableShowFileExtensions -EnableShowFullPathInTitleBar -DisableShowRecentFilesInQuickAccess -DisableShowFrequentFoldersInQuickAccess
Set-StartScreenOptions -EnableBootToDesktop -EnableDesktopBackgroundOnStart -EnableShowStartOnActiveScreen -EnableShowAppsViewOnStartScreen -EnableSearchEverywhereInAppsView -EnableListDesktopAppsFirst
# Disables the Bing Internet Search when searching from the search field in the Taskbar or Start Menu.
Disable-BingSearch
# Install Windows Update and reboot
Install-WindowsUpdate -acceptEula
if (Test-PendingReboot) { Invoke-Reboot }
#region WindowsExtras
cinst -y TelnetClient -source windowsFeatures
#endregion
#region DotNetAndPowershell
cinst -y PowerShell
cinst -y DotNet4.0
cinst -y DotNet4.5
#endregion
#region Runtimes
cinst -y openjdk
cinst -y nodejs
cinst -y python
#endregion
#region essentials
cinst -y 7zip
cinst -y peazip
cinst -y vlc
cinst -y mpv
cinst -y sysinternals
cinst -y irfanview
cinst -y irfanviewplugins
cinst -y sumatrapdf
cinst -y defraggler
cinst -y everything
cinst -y hashcheck
cinst -y foobar2000
cinst -y mediainfo
cinst -y mediainfo-cli
cinst -y mediatab
cinst -y rsync # the ssh command that comes with this is kinda broken, alias ssh=your old ssh binary (cmder for example)
cinst -y rclone
cinst -y putty
cinst -y kitty
#endregion
#region Browsers
cinst -y googlechrome
cinst -y firefox --params "/l:en-GB"
#endregion
#region devTools
cinst -y notepadplusplus
cinst -y notepad2-mod
cinst -y git --params "/NoShellIntegration"
cinst -y neovim
cinst -y alacritty
cinst -y ripgrep
cinst -y ag
cinst -y fd
cinst -y universal-ctags
cinst -y winmerge
cinst -y meld
cinst -y hxd
cinst -y dbeaver
cinst -y sqlitebrowser
cinst -y spring-boot-cli --ignoredependencies # spring-boot-cli depends on jdk, but it might not match the one we installed earlier in this script, so we ignore it
cinst -y maven
cinst -y Bat
cinst -y CLOC
cinst -y rapidee
#endregion
#region goingIntoTheExtras
cinst -y chocolateygui
cinst -y powertoys
cinst -y libreoffice-fresh
#cinst -y FoxitReader
cinst -y paint.net
cinst -y unchecky
cinst -y ffmpeg
cinst -y youtube-dl
cinst -y yt-dlp
cinst -y Wget
#cinst -y icaros
#cinst -y patheditor
cinst -y winscp
cinst -y quicklook
cinst -y streamlink
#endregion
#region nirsoft
cinst -y csvfileview
cinst -y bluescreenview
cinst -y hashmyfiles
cinst -y dllexp
#endregion
# Make sure some windows update didn't creep on us after installing all
# those apps
Install-WindowsUpdate -acceptEula
if (Test-PendingReboot) { Invoke-Reboot }
# Taskbar items
Install-ChocolateyPinnedTaskBarItem "$env:localappdata\Google\Chrome\Application\chrome.exe"