Update toolbox.ps1
This commit is contained in:
@@ -21,6 +21,7 @@ function Show-MainMenu {
|
|||||||
Write-Host "[2] Windows11 Bedrijfsportal installeren" -ForegroundColor Yellow
|
Write-Host "[2] Windows11 Bedrijfsportal installeren" -ForegroundColor Yellow
|
||||||
Write-Host "[3] Cris z'n Autopilot Hash Script ONLINE" -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 "[4] Cris z'n Autopilot Hash Script OFFLINE" -ForegroundColor Yellow
|
||||||
|
Write-Host "[5] GPO & MDM Sync forceren" -ForegroundColor Yellow
|
||||||
# Voeg meer opties toe
|
# Voeg meer opties toe
|
||||||
Write-Host "[X] Afsluiten" -ForegroundColor Red
|
Write-Host "[X] Afsluiten" -ForegroundColor Red
|
||||||
Write-Host
|
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
|
irm https://git.seppjm.com/smo/ps-tools/raw/branch/main/cris-autopilot-offline.ps1 | iex
|
||||||
Pause
|
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 ---
|
# --- loop om gebruikersinvoer op te vragen en uit te voeren ---
|
||||||
while ($true) {
|
while ($true) {
|
||||||
@@ -62,6 +67,9 @@ while ($true) {
|
|||||||
"4" {
|
"4" {
|
||||||
Run-Script4
|
Run-Script4
|
||||||
}
|
}
|
||||||
|
"5" {
|
||||||
|
Run-Script5
|
||||||
|
}
|
||||||
|
|
||||||
# Voeg hier meer genummerde opties toe
|
# Voeg hier meer genummerde opties toe
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user