Update gasten.txt, medewerkers.txt, get-serial.bat, and 12 more files
This commit is contained in:
1 parent
7e3a8bced6
commit
14dae8eb8e
10 files changed
+738
-112
No files matched your search
@@ -0,0 +1,27 @@
|
||||
@echo off
|
||||
:: Controleer op administrator rechten
|
||||
net session >nul 2>&1
|
||||
if %errorlevel% neq 0 (
|
||||
echo Administrator rechten zijn vereist. Start het script opnieuw als administrator.
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
echo Starting application updates...
|
||||
echo.
|
||||
|
||||
:: Controleer of Winget is geïnstalleerd
|
||||
where winget >nul 2>nul
|
||||
if %errorlevel% neq 0 (
|
||||
echo Winget is niet geïnstalleerd. Installeer eerst de App Installer vanuit de Microsoft Store.
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
:: Voer winget upgrade uit voor alle applicaties
|
||||
winget upgrade --all --silent --accept-source-agreements --accept-package-agreements --include-unknown
|
||||
|
||||
echo.
|
||||
echo Update proces is voltooid.
|
||||
echo Druk op een toets om af te sluiten...
|
||||
pause >nul
|
||||
Reference in new issue
Block a user