@echo off setlocal cd /d "%~dp0" powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0sync\promote_ohd_staging.ps1" -LiveRoot "%~dp0." -Force -Restart %* exit /b %ERRORLEVEL%