Need to fetch Registry Patches (CVEs) present in Software Center
Hi Team,
I've written PowerShell Script to fetch all the Registry Keys (CVEs) present in the Software Center. But, it is not returning any result. Can you please help us here.
Ex. : Reference of my PowerShell script (Not everything I pasted here)
function Get-CVEUpdatesFromSoftwareCenter {
$updates = Get-WmiObject -Namespace "root\ccm\ClientSDK" -Class CCM_Application
#$CVE_Pattern = "CVE-\d{4}-\d+"
#$CVE_Pattern = "^CVE.*-"
$CVE_Pattern = "CVE-\d+-\w+"
# Filter updates based on CVE ID if it's mentioned in the update name or description
$CVEUpdates = $updates | Where-Object {$_.Name -match $CVE_Pattern}
Result : No updates found with the specified CVE pattern.