A PowerShell variant of the amazing patch_review.py by kevthehermit
To get a report for the current month, just run the script without any additional parameters
$ .\patch_review.ps1If you want to define the reporting month use YYYY-MMM (2025-Mar) or YYYY-MM (2025-03) format
$ .\patch_review.ps1 2025-05Default is human-readable which writes output similar to the original Python script. For programmatic use, select json or psobject. Markdown output is also available.
$ .\patch_review.ps1 2025-05 -Output json$ .\patch_review.ps1 2025-05 -Output psobject$ .\patch_review.ps1 2025-05 -Output markdownBy default the MSRC Url is used for the links but you can change it to CVE.org if you like.
$ .\patch_review.ps1 2025-05 -CVELink CVE.orgUse -CVELink None to omit links from both human-readable and Markdown output.
The highest rated CVEs are by default all CVEs above 8.0. This can be changed easily to fit your needs.
$ .\patch_review.ps1 2025-05 -BaseScore 9Run the offline end-to-end regression suite:
Invoke-Pester -Path ./tests/patch_review.Tests.ps1Run static analysis with the repository settings (the colorized console renderer intentionally uses Write-Host):
Invoke-ScriptAnalyzer -Path ./patch_review.ps1 -Settings ./PSScriptAnalyzerSettings.psd1