@echo off setlocal powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%~dp0scripts\start-server.ps1" %* set "GOAUTO_EXIT_CODE=%ERRORLEVEL%" if not "%GOAUTO_EXIT_CODE%"=="0" ( echo. echo Startup failed. See the error above. pause ) exit /b %GOAUTO_EXIT_CODE%