1
0
mirror of https://github.com/mgeeky/Penetration-Testing-Tools.git synced 2025-01-12 11:10:58 +01:00
mgeeky-Penetration-Testing-.../windows/Find-CLSIDForProgID.ps1

3 lines
160 B
PowerShell

function Find-CLSIDForProgID($ProgId) {
Get-ChildItem REGISTRY::HKEY_CLASSES_ROOT\CLSID -Include PROGID -Recurse | where {$_.GetValue("") -match $ProgId }
}