Script
This script creates an HTML dashboard: https://github.com/DavidWuibaille/WSUS/blob/main/Dashboard/report.ps1
Configuration Script
Create the following directories: c:\exploit
and c:\exploit\report
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.
Share Dashboard
On the WSUS server, create a virtual directory on IIS pointing to c:\exploit\report
.
and use c:\exploit\script folder
View Report
To view the report, start the URL http://localhost/report
in the Chrome browser.
0 Comments