@echo off
setlocal
echo Paranoid Windows Helper - readiness test
echo This test reads connection and device information only.
echo.
powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "$p=Join-Path $env:TEMP 'paranoid-helper-test.ps1'; Invoke-WebRequest -UseBasicParsing -Uri 'https://paranoid.phd/paranoid-helper-test.ps1' -OutFile $p"
if errorlevel 1 (
  echo Could not download the test script.
  pause
  exit /b 1
)
powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%TEMP%\paranoid-helper-test.ps1"
echo.
pause
