@echo off setlocal set "CHORUS_SHELL=pwsh.exe" where "%CHORUS_SHELL%" >nul 2>nul if errorlevel 1 set "CHORUS_SHELL=powershell.exe" "%CHORUS_SHELL%" -NoLogo -NoProfile -ExecutionPolicy Bypass -File "%~dp0chorus-supervisor.ps1" install exit /b %ERRORLEVEL%