Script

This script creates an HTML dashboard: https://github.com/DavidWuibaille/WSUS/blob/main/Dashboard/report.ps1

HTML dashboard script

Configuration Script

Create the following directories: c:\exploit and c:\exploit\report

File directory structure

Then copy the report.ps1 file into the c:\exploit folder.

Execute Script

Set up a scheduled task to run the script every hour.

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy unrestricted c:\exploit\report.ps1

Note: Use the System account to run the task.

Task scheduler configuration

Share Dashboard

On the WSUS server, create a virtual directory on IIS pointing to c:\exploit\report.

IIS virtual directory setup

and use c:\exploit\script folder

View Report

To view the report, start the URL http://localhost/report in the Chrome browser.


0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.