Auto-commit: 2025-10-31 08:55:43

This commit is contained in:
David Wuibaille
2025-10-31 08:55:43 +01:00
parent 9bb5ad24bb
commit 24c0c6509f
33 changed files with 13144 additions and 0 deletions

37
Dashboard/readme.md Normal file
View File

@@ -0,0 +1,37 @@
# WSUS HTML Report (PowerShell)
Generates a **single-page HTML dashboard** for WSUS: target-group inventory, KB deployment status (timeline + donuts), per-KB computer states, and a table of computers with failed updates.
## Features
- Computers by **Target Group** (table + pie).
- KB status per group: **Installed vs Missing** and **approval age timeline**.
- Per-KB list of affected computers (hidden sections you can expand).
- **Failed** updates: computers in error.
## Requirements
- Run on the **WSUS server** as Administrator.
- Module: `PSWriteHTML`
```powershell
Install-Module PSWriteHTML -Scope CurrentUser
```
- WSUS API available (either the `UpdateServices` module or
`Microsoft.UpdateServices.Administration.dll` at
`"%ProgramFiles%\Update Services\Tools\Microsoft.UpdateServices.Administration.dll"`).
- The script uses `-Online` (CDN assets). Remove that flag if your server has no internet.
## Quick start
```powershell
# 1) Save the script as: C:\Scripts\Wsus-Report.ps1
# 2) Run it (elevated)
powershell.exe -NoProfile -ExecutionPolicy Bypass -File C:\Scripts\Wsus-Report.ps1
# Output:
# C:\exploit\report\default.htm
```
## Customize
- Output path: `$outFile` (default `C:\exploit\report\default.htm`).
- Exclusions for titles (ARM64, SSU, Flash, etc.) in the KB section.
- Table/chart IDs if you embed multiple reports.
## Full article
https://blog.wuibaille.fr/2024/10/creating-a-wsus-dashboard/