24 lines
592 B
Batchfile
24 lines
592 B
Batchfile
@echo off
|
|
:: HHO PowerShell Configuratie Menu - Batch Wrapper
|
|
:: Dit bestand start het PowerShell hoofdmenu script
|
|
|
|
echo Starting HHO PowerShell Configuration Menu...
|
|
echo.
|
|
|
|
:: Controleer of PowerShell beschikbaar is
|
|
powershell -Command "Get-Host" >nul 2>&1
|
|
if %errorlevel% neq 0 (
|
|
echo PowerShell is niet beschikbaar op dit systeem.
|
|
echo Installeer PowerShell en probeer opnieuw.
|
|
pause
|
|
exit /b 1
|
|
)
|
|
|
|
:: Start het PowerShell script
|
|
powershell -ExecutionPolicy Bypass -File "%~dp0main-menu.ps1"
|
|
|
|
:: Pauzeer aan het einde
|
|
echo.
|
|
echo Script voltooid.
|
|
pause
|