-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSetup.ps1
More file actions
32 lines (26 loc) · 1.13 KB
/
Setup.ps1
File metadata and controls
32 lines (26 loc) · 1.13 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
Set-ExecutionPolicy Bypass -Scope Process -Force
iex "& { $(irm https://community.chocolatey.org/install.ps1) }"
# Define packages
$utilities = @(
'foxitreader', 'firefox', '7zip.install', 'notepadplusplus.install',
'cccp', 'mpc-be', 'irfanview', 'nextcloud-client', 'dropbox',
'windirstat', 'sharex', 'steelseries-engine', 'filezilla',
'winscp', 'localsend', 'mobaxterm', 'cheatengine', 'putty',
'rpi-imager', 'razer-synapse-3', 'etcher'
)
$programming = @('git', 'vscode')
$gaming = @('steam')
$graphics = @('geforce-game-ready-driver')
$comms = @('webex', 'discord', 'mumble')
$allPackages = $utilities + $programming + $gaming + $graphics + $comms
# Install loop with feedback
foreach ($pkg in $allPackages | Sort-Object -Unique) {
Write-Host "Installing $pkg..." -ForegroundColor Cyan
choco install $pkg -y --no-progress
if ($LASTEXITCODE -ne 0) {
Write-Host "❌ Failed to install $pkg" -ForegroundColor Red
} else {
Write-Host "✅ Successfully installed $pkg" -ForegroundColor Green
}
}
Write-Host "\n🎉 All installations attempted. Check above for any failures." -ForegroundColor Yellow