SinceLastBoot is a PowerShell toolset designed for headless Windows installations. It generates detailed HTML reports on system and file changes for every SSH login and provides a summary directly in the terminal.
- CPU, Memory, and Storage usage
- System updates and last boot time
- Network statistics and recently edited files
- Security logs, login attempts, and user information
- Saved for easy review and sharing.
- Runs
$env:USERPROFILE\report.ps1and$env:USERPROFILE\reportexport.ps1in a single command.
The SinceLastBoot toolset is also available as an npm package:
npm install -g since-last-bootRun the start.ps1 script:
PS C:\> ./start.ps1Installation files are removed automatically after setup.
Run the SinceLastBoot alias:
PS C:\> SinceLastBootUsername: jdoe
Hostname: WIN-12345
CPU: Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz
Memory: 8 GB / 16 GB
Storage: 200 GB / 512 GB
GPU: NVIDIA GeForce RTX 2070
OS: Microsoft Windows 11 Pro
Windows Version: 22H2
Last Update: 2024-12-10
Last Security Update: 2024-12-01
Last User Logged In: jdoe
Recent Files Edited:
2024-12-23 14:45:00 - C:\Users\jdoe\Documents\report.docx
2024-12-23 14:30:00 - C:\Users\jdoe\Desktop\notes.txt
2024-12-22 18:20:00 - C:\Users\jdoe\Downloads\setup.exe
2024-12-22 10:05:00 - C:\Users\jdoe\Projects\code.ps1
2024-12-21 22:15:00 - C:\Users\jdoe\Pictures\image.png
The HTML report includes:
- A detailed breakdown of system metrics
- Recent file changes:
report.docxlast edited on 2024-12-23notes.txtlast edited on 2024-12-23setup.exelast edited on 2024-12-22code.ps1last edited on 2024-12-22image.pnglast edited on 2024-12-21
- Login and security logs
- Network activity
The report is saved to the Desktop as System_Report_<timestamp>.html.
This project is licensed under the MIT License. See the LICENSE file for details.