forked from ALK222/WIS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.ps1
More file actions
35 lines (29 loc) · 897 Bytes
/
main.ps1
File metadata and controls
35 lines (29 loc) · 897 Bytes
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
$proc = Get-WmiObject -Class Win32_Processor | Select-Object -Property Name
Write-Host "Installing CPU driver assistant"
if ($proc -match "Intel") {
winget install --id Intel.IntelDriverAndSupportAssistant -e
}
elseif ($proc -match "AMD") {
Write-host "Driver assistant not found"
}
else {
Write-Host "Driver assistant for CPU not installed"
}
$gpus = Get-WmiObject -Class Win32_VideoController | Select-Object -Property Description
Write-Host "Installing GPU driver assistant"
foreach ($gpu in $gpus) {
if ($gpu -match "NVIDIA") {
winget install --id Nvidia.GeForceExperience -e
}
elseif ($gpu -match "AMD") {
Write-host "Driver for AMD GPUs not found"
}
}
#Programming script
.\Programming\programming.ps1
#Games script
.\Games\Games.ps1
#Util script
.\Utils\Utils.ps1
#Uninstal shit
.\Uninstall\Uninstal.ps1