@echo off
title SYNCnode Desktop Remote Control Agent
echo ========================================================
echo        SYNCnode Desktop Remote Control Agent
echo ========================================================
echo Starte Agenten mit Windows PowerShell...
echo Keine Installation erforderlich (nutzt Windows .NET API).
echo.
powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0syncnode-agent.ps1"
if %errorlevel% neq 0 (
    echo.
    echo Ein Fehler ist aufgetreten. Bitte stellen Sie sicher, dass PowerShell verfuegbar ist.
    pause
)
