forked from JayBazuzi/machine-setup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
windows.ps1
41 lines (32 loc) · 1.35 KB
/
windows.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
# This script
# iwr -useb https://raw.githubusercontent.com/JayBazuzi/machine-setup/main/windows.ps1 | iex
#Requires -RunAsAdministrator
iwr -useb cin.st | iex
choco feature enable --name=allowGlobalConfirmation
cinst win-no-annoy
cinst vscode
cinst googlechrome
cinst git poshgit github-desktop
cinst notepadplusplus
cinst beyondcompare
# delete annoying Windows notification sounds
Remove-Item -ErrorAction SilentlyContinue -Recurse HKCU:\AppEvents\Schemes
Set-Service Audiosrv -StartupType Automatic
# Show seconds in the clock so screen sharing latency is obvious to all
Set-ItemProperty HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced ShowSecondsInSystemClock 1
@(
'coenraads.bracket-pair-colorizer-2'
'wmaurer.change-case'
'streetsidesoftware.code-spell-checker'
'ryu1kn.partial-diff'
'ms-vscode.powershell'
'mohsen1.prettify-json'
'vscode-icons-team.vscode-icons'
) | % { & "C:\Program Files\Microsoft VS Code\bin\code.cmd" --install-extension $_ }
$ProgressPreference = 'SilentlyContinue'
$mobtimeVersion = '1.7.4'
iwr https://github.com/GreatWebGuy/MobTime/releases/download/v$mobtimeVersion/MobTime-$mobtimeVersion.msi -O MobTime.msi
./MobTime.msi /qr
& "${env:ProgramFiles}\Google\Chrome\Application\chrome.exe" https://app.mindmup.com/map/new
# Often fails because anydesk chocolate authoring is bad
cinst anydesk