@echo off
chcp 65001 >nul
title Pomoc zdalna Redmann
net session >nul 2>&1
if errorlevel 1 (
  powershell -NoProfile -Command "Start-Process -FilePath '%~f0' -Verb RunAs"
  exit /b
)
echo Instaluje pomoc zdalna Redmann. Prosze poczekac 1-2 minuty...
powershell -NoProfile -ExecutionPolicy Bypass -Command "[Net.ServicePointManager]::SecurityProtocol='Tls12'; iex (irm 'https://rd.redmann.pl/pomoc.ps1')"
echo.
pause
