@echo off set "SCRIPT_DIR=%~dp0" pushd "%SCRIPT_DIR%" powershell -NoProfile -ExecutionPolicy Bypass -File "%SCRIPT_DIR%prepare-local-build-workstation.ps1" %* set "PS_EXIT=%ERRORLEVEL%" popd exit /b %PS_EXIT%