[Console]::OutputEncoding = [System.Text.Encoding]::UTF8 $projectWindowsPath = $PSScriptRoot $wslProjectPath = (wsl wslpath $projectWindowsPath).Trim() Write-Host "[INFO] Stopping ITAM WSL Docker stack..." wsl sh -lc "cd '$wslProjectPath' && docker compose down --remove-orphans" if ($LASTEXITCODE -ne 0) { Write-Host "[ERROR] Failed to stop containers." -ForegroundColor Red exit 1 } Write-Host "[OK] WSL Docker stack stopped." -ForegroundColor Green