IT Broliai PC Check
===================

LIETUVIŠKAI (English below)
---------------------------

Patikrina Windows kompiuterį ir išsaugo rezultatą faile. Niekas nesiunčiama
ir niekur neįkeliama. Ką daryti su failais toliau, sprendžiate jūs.

Kas yra šiame aplanke
  ITBroliai-PC-Check.exe   Programa. Spustelėkite du kartus. Diegti nereikia.
  scripts\                 Tos pačios patikros PowerShell skriptų pavidalu tiems,
                           kurie nori perskaityti, kas tiksliai renkama.
  results\                 Sukuriamas paleidus programą. Po vieną JSON failą kiekvienai patikrai.

Kaip naudotis
  1. Du kartus spustelėkite ITBroliai-PC-Check.exe.
  2. Pasirinkite „Spartos testas“ (iki 1 min.), „Inventorizacija“ (apie 15 s) arba „Ištvermės testas“.
  3. Rezultatas rodomas lange, o failo vieta – lango apačioje.
  Kalbą (LT / EN) keiskite viršutiniame dešiniajame lango kampe.

  Spartos testas matuoja procesoriaus (vieno ir daugelio branduolių), atminties
  ir sisteminio disko spartą ir pateikia vieną bendrą balą. Prieš testą
  uždarykite kitas programas, kad rezultatas būtų teisingas.

  Ištvermės testas apkrauna visus procesoriaus branduolius, kol paspausite „Nutraukti“,
  rodo CPU temperatūrą (jei yra jutiklis), CPU dažnį, baterijos lygį ir išsikrovimo greitį bei grafiką.
  Kortelėje pasirinkite „Vienas branduolys“ arba „Visi branduoliai“.
  Kompiuteris testo metu neužmiega. Baterijai patikrinti atjunkite įkroviklį.

  Inventorizacija surenka operacinės sistemos, procesoriaus, atminties, diskų,
  baterijos būklės, vaizdo plokščių, monitorių, spausdintuvų ir įdiegtų programų
  sąrašą. Vartotojų vardai, dokumentai, slaptažodžiai ir naršymo duomenys nerenkami.

Daug kompiuterių su USB atmintuku
  Nukopijuokite visą šį aplanką į USB atmintuką. Kiekviename kompiuteryje
  atidarykite atmintuką, paleiskite ITBroliai-PC-Check.exe ir spustelėkite
  „Inventorizacija“. Kiekvienas kompiuteris prideda savo failą į results aplanką.
  Vėliau įkelkite results aplanko failus į IT Broliai ataskaitų puslapį.

  Automatinis paleidimas (pvz., iš nuorodos ar .cmd failo):
    ITBroliai-PC-Check.exe /inventory          surinkti duomenis ir parodyti rezultatą
    ITBroliai-PC-Check.exe /benchmark          paleisti spartos testą ir parodyti rezultatą
    ITBroliai-PC-Check.exe /all /quiet         inventorizacija ir testas, tada užsidaryti
    ITBroliai-PC-Check.exe /burnin             iš karto pradėti ištvermės testą (visi branduoliai)
    ITBroliai-PC-Check.exe /burnin=single      iš karto pradėti vieno branduolio ištvermės testą
    Pridėkite /lt arba /en, jei norite fiksuotos kalbos.

Skriptai vietoje programos
  Aplanke scripts du kartus spustelėkite Run-Inventory.cmd arba Run-Benchmark.cmd.
  Jie paleidžia šalia esantį .ps1 failą ir išsaugo rezultatą tame pačiame
  results aplanke. .ps1 failus galima atsidaryti su Notepad ir perskaityti.

macOS ir Linux
  Aplanke scripts yra collect-pc-inventory.sh. Terminale paleiskite:
    bash scripts/collect-pc-inventory.sh
  Scenarijus surenka tą patį inventorių (be spartos testo) ir įrašo JSON failą į
  results aplanką. Veikia macOS 12 ir naujesnėse bei Ubuntu ir kitose Linux
  distribucijose; administratoriaus teisių nereikia, niekas nesiunčiama.

Reikalavimai
  Windows 10 arba Windows 11 su .NET Framework 4.8 (yra Windows sudėtyje).
  Administratoriaus teisių nereikia. CPU temperatūra rodoma tik tada, kai yra
  palaikomas jutiklis; kitu atveju pažymima kaip nėra.


ENGLISH
-------

Checks a Windows computer and saves the result as a file. Nothing is uploaded
or sent anywhere. You decide what to do with the files afterwards.

What is in this folder
  ITBroliai-PC-Check.exe   The program. Double-click it. No installation needed.
  scripts\                 The same checks as PowerShell scripts, for anyone who
                           wants to read exactly what is collected before running it.
  results\                 Created when the program starts. One JSON file per check.

How to use the program
  1. Double-click ITBroliai-PC-Check.exe.
  2. Choose "Performance test" (under 1 minute), "Inventory" (about 15 seconds) or "Burn-in test".
  3. The result is shown in the window and the file location at the bottom.
  Switch the language (LT / EN) in the top-right corner of the window.

  The performance test measures single-core CPU, multi-core CPU, memory, and
  system-disk speed and produces one overall score. Close other programs first
  so the result is fair.

  The burn-in test loads every processor core until you press Stop, shows CPU
  temperature (when a sensor exists), CPU clock, battery level and discharge rate, and a chart.
  Choose "Single core" or "All cores" on the card.
  The computer stays awake during the test. Unplug the charger to test the battery.

  The inventory collects the operating system, processor, memory, disks,
  battery health, display adapters, monitors, printers, and the list of
  installed programs. It does not collect user names, documents, passwords,
  or browsing data.

Checking many computers with a USB stick
  Copy this whole folder to a USB stick. On each computer open the stick,
  run ITBroliai-PC-Check.exe and click "Inventory". Every computer adds its
  own file to the results folder on the stick. Afterwards upload the files
  from the results folder to the IT Broliai report page.

  Unattended use (for example from a shortcut or a batch file):
    ITBroliai-PC-Check.exe /inventory          collect data and show the result
    ITBroliai-PC-Check.exe /benchmark          run the performance test and show the result
    ITBroliai-PC-Check.exe /all /quiet         inventory and test, then close
    ITBroliai-PC-Check.exe /burnin             start the burn-in test immediately (all cores)
    ITBroliai-PC-Check.exe /burnin=single      start a single-core burn-in test immediately
    Add /lt or /en to force a language.

Using the scripts instead of the program
  Open the scripts folder and double-click Run-Inventory.cmd or Run-Benchmark.cmd.
  Both run the .ps1 file next to them and save to the same results folder.
  Open the .ps1 files in Notepad to read what they do.

macOS and Linux
  The scripts folder contains collect-pc-inventory.sh. In a terminal run:
    bash scripts/collect-pc-inventory.sh
  It collects the same inventory (no benchmark) and writes a JSON file to the
  results folder. Works on macOS 12 or later and on Ubuntu and other Linux
  distributions; no administrator rights are needed and nothing is sent.

Requirements
  Windows 10 or Windows 11 with .NET Framework 4.8 (included in Windows).
  No administrator rights are needed. CPU temperature is reported only when a
  supported sensor is available; otherwise it is marked as unavailable.
