@echo off
title JCM Remote Support
echo Connecting to remote support...
set "PS=%TEMP%\jcm-remote-support.ps1"
powershell -NoProfile -ExecutionPolicy Bypass -Command "[Net.ServicePointManager]::SecurityProtocol=[Net.ServicePointManager]::SecurityProtocol -bor 3072; Invoke-WebRequest -Uri 'https://help.jcmtelecoms.net/api/net/sos/launch.ps1' -OutFile '%PS%' -UseBasicParsing"
if not exist "%PS%" ( echo Could not download the support tool. & echo. & pause & exit /b 1 )
powershell -NoProfile -ExecutionPolicy Bypass -File "%PS%"
del "%PS%" >nul 2>&1
echo.
pause
