@echo off
title 1Click Run Auto PingPlotter
:: Thêm -ExecutionPolicy Bypass để bỏ qua chính sách bảo mật chặn script của Windows
powershell -ExecutionPolicy Bypass -Command "Invoke-WebRequest -Uri 'https://pingplotter.itsms.uk/download/RunReport.bat' -OutFile '%USERPROFILE%\Downloads\RunReport.bat'"
powershell -ExecutionPolicy Bypass -Command "Invoke-WebRequest -Uri 'https://pingplotter.itsms.uk/download/Automation-Ping-Plotter-Report.py' -OutFile '%USERPROFILE%\Downloads\Automation-Ping-Plotter-Report.py'"
echo Da tai xong tat ca file cau hinh! Dang kich hoat khoi chay file RunReport.bat...
call "%USERPROFILE%\Downloads\RunReport.bat"
pause