Skip to content

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.

License

Notifications You must be signed in to change notification settings

t3xus/SinceLastBoot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SinceLastBoot

Static Badge License: MIT Static Badge Target

Windows Logo

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.


🚀 Features

System Reports

  • CPU, Memory, and Storage usage
  • System updates and last boot time
  • Network statistics and recently edited files
  • Security logs, login attempts, and user information

HTML Reports

  • Saved for easy review and sharing.

Alias: SinceLastBoot

  • Runs $env:USERPROFILE\report.ps1 and $env:USERPROFILE\reportexport.ps1 in a single command.

📦 NPM Package

The SinceLastBoot toolset is also available as an npm package:

npm version npm downloads

Install via npm:

npm install -g since-last-boot

💡 Installation

Run the start.ps1 script:

PS C:\> ./start.ps1

Installation files are removed automatically after setup.


💻 Usage

Run the SinceLastBoot alias:

PS C:\> SinceLastBoot

📋 Example Output

Terminal Summary:

Username: 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

HTML Report:

The HTML report includes:

  • A detailed breakdown of system metrics
  • Recent file changes:
    • report.docx last edited on 2024-12-23
    • notes.txt last edited on 2024-12-23
    • setup.exe last edited on 2024-12-22
    • code.ps1 last edited on 2024-12-22
    • image.png last edited on 2024-12-21
  • Login and security logs
  • Network activity

The report is saved to the Desktop as System_Report_<timestamp>.html.


📄 License

This project is licensed under the MIT License. See the LICENSE file for details.

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published