@echo off
rem ---------------------------------------------------------------------------
rem  System Diagnostic Monitor - launcher
rem  Double-click this file to start the dashboard.
rem
rem  It just runs SysDiag.ps1 (in this same folder) with Windows PowerShell.
rem  The script will ask for Administrator rights via the normal Windows UAC
rem  prompt - that is needed to read disk health/temperature and USB link detail.
rem
rem  Optional switches (advanced): pass them after the file name, e.g.
rem     Run.cmd -Install     register autostart-at-logon (minimized to tray)
rem     Run.cmd -Uninstall   remove that autostart task
rem ---------------------------------------------------------------------------
setlocal
powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%~dp0SysDiag.ps1" %*
