Update toolbox.ps1

This commit is contained in:
smo
2025-04-08 08:54:50 +00:00
parent 7e21a8eef5
commit 076ec75cd8

View File

@@ -21,6 +21,7 @@ function Show-MainMenu {
Write-Host "[2] Windows11 Bedrijfsportal installeren" -ForegroundColor Yellow
Write-Host "[3] Cris z'n Autopilot Hash Script ONLINE" -ForegroundColor Yellow
Write-Host "[4] Cris z'n Autopilot Hash Script OFFLINE" -ForegroundColor Yellow
Write-Host "[5] GPO & MDM Sync forceren" -ForegroundColor Yellow
# Voeg meer opties toe
Write-Host "[X] Afsluiten" -ForegroundColor Red
Write-Host
@@ -43,6 +44,10 @@ function Run-Script4 {
irm https://git.seppjm.com/smo/ps-tools/raw/branch/main/cris-autopilot-offline.ps1 | iex
Pause
}
function Run-Script5 {
irm https://git.seppjm.com/smo/ps-tools/raw/branch/main/gp-mdm-sync.ps1 | iex
Pause
}
# --- loop om gebruikersinvoer op te vragen en uit te voeren ---
while ($true) {
@@ -62,6 +67,9 @@ while ($true) {
"4" {
Run-Script4
}
"5" {
Run-Script5
}
# Voeg hier meer genummerde opties toe