# Stop exactly ONE API replica from a Windows host. # The public failover test sets TARGET_INSTANCE_ID; the PowerShell helper maps # the alias (container hostname) to the matching Compose container. @echo off setlocal if "%TARGET_INSTANCE_ID%"=="" exit /b 2 powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0stop-one.ps1" exit /b %ERRORLEVEL%