@echo off
:: Check for admin rights
net session >nul 2>&1
if %errorlevel% neq 0 (
    echo Requesting Administrator privileges...
    powershell -Command "Start-Process -FilePath '%~f0' -Verb RunAs"
    exit /b
)

echo iWifiMonitor Uninstaller
echo =======================
echo.
echo This will remove iWifiMonitor from your system.
echo.
powershell -ExecutionPolicy Bypass -File "%~dp0uninstall.ps1"
pause
