79334549

Date: 2025-01-06 23:11:37
Score: 0.5
Natty:
Report link

here an example

based on this person script https://www.reddit.com/r/SCCM/comments/cqif5a/visual_c_redist_detection_script/

##check VC Redistributable packages installed
 Get-ChildItem HKLM:\SOFTWARE\WoW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* | ForEach-Object { 
    $CurDisplayName = $_.GetValue("DisplayName")
    if( $CurDisplayName -match "^Microsoft Visual C\+\+\D*(?<Year>(\d|-){4,9}).*Redistributable.*") {
        #$Year = $Matches.Year
        echo $Matches.0
    }
}
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
Posted by: Tilo