Enumerates all CVEs for a specified product for a specified year-month combination.
Needed PoSh module MsrcSecurityUpdates will be downloaded and imported.
PS C:\Develop\PowerShell\Security\MSRCGetPatches> . .\MSRCGetPatches.ps1
PS C:\Develop\PowerShell\Security\MSRCGetPatches> Get-ActualCVEsByProduct -ProductTitle "Windows*" -OutputStyle GridView -Date 08.2023
PARAMETER ProductTitle (mandatory)
"Windows Server 2016*"
"Windows Server 2016"
"Microsoft Edge*"
PARAMETER OutputStyle (mandatory)
HTML
GridView
Excel
by using module ImportExcel from dfinkeConsole
PARAMETER Date (optional)
If not specified, the current year and month will be used!
2021-Jun
2023-Jan
03/01/2022
11.2022
Samples:
Get-ActualCVEsByProduct -ProductTitle "Windows Server 2016*" -OutputStyle HTML
Get-ActualCVEsByProduct -ProductTitle "Microsoft Edge*" -OutputStyle GridView
Get-ActualCVEsByProduct -ProductTitle "Windows Server 2016*" -Date '2022-Dec' -OutputStyle Excel
Get-ActualCVEsByProduct -ProductTitle "Windows Server 2016*" -Date '2022-Dec' -OutputStyle Console
Get-ActualCVEsByProduct -ProductTitle "Windows 10 for x64-based Systems" -Date '12.2022' -OutputStyle Console | Format-Table
Get-ActualCVEsByProduct -ProductTitle "Windows 10 Version 22H2 for x64*" -Date '12.2022' -OutputStyle Console | Select CVE, CVE-Title, Severity, Impact | Format-Table
Get-ActualCVEsByProduct -ProductTitle "Microsoft SQL Server 2016*" -OutputStyle GridView -Date 06.2022
Output sample 1. as HTML Report:
Output sample 1. as GridVIew:
Output sample 3.:
Output sample 4.: