@echo off setlocal powershell.exe -NoLogo -NoProfile -ExecutionPolicy Bypass -File "%~dp0update-manifest.ps1" %* set "RESULT=%ERRORLEVEL%" if not "%RESULT%"=="0" ( echo. echo Manifest update failed with exit code %RESULT%. pause ) exit /b %RESULT%