Skip to content

Latest commit

 

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MSRC-PatchReview

A PowerShell variant of the amazing patch_review.py by kevthehermit

A screenshot of the actual command line output for the month September 2025

Usage

To get a report for the current month, just run the script without any additional parameters

$ .\patch_review.ps1

If you want to define the reporting month use YYYY-MMM (2025-Mar) or YYYY-MM (2025-03) format

$ .\patch_review.ps1 2025-05

Change output format

Default 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 markdown

Change CVE Url

By 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.org

Use -CVELink None to omit links from both human-readable and Markdown output.

Change CVE BaseScore

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 9

Tests

Run the offline end-to-end regression suite:

Invoke-Pester -Path ./tests/patch_review.Tests.ps1

Run static analysis with the repository settings (the colorized console renderer intentionally uses Write-Host):

Invoke-ScriptAnalyzer -Path ./patch_review.ps1 -Settings ./PSScriptAnalyzerSettings.psd1

About

A PowerShell variant of the amazing patch_review.py by kevthehermit

Resources

Stars

225 stars

Watchers

6 watching

Forks

Releases

Packages

Contributors

Languages