# Written by Rob Young | PhotoITPro # Website: https://photoitpro.co.uk # Repository: https://github.com/PhotoITPro/PhotoITPro-Intune-Scripts # Licence: MIT #Requires -Version 5.1 <# .SYNOPSIS Rob's Toolkit: a read-only Windows diagnostic tool with a GUI (default) and a command-line mode. Produces a self-contained HTML report. .DESCRIPTION Run with no parameters to open the GUI: pick a preset, tick the checks you want, and click Run. Any parameter (or -NoGui) runs the command-line mode instead, which is also what the GUI uses behind the scenes. Checks (use -ListChecks to see them): system overview, performance sampling, memory/pool, CPU throttling, disk, OneDrive, Windows Search/Defender, startup load, drivers/updates, event logs, system-file integrity, network, security products/kernel drivers. Output goes to \_[_