mgeeky-Penetration-Testing-.../windows/Find-CLSIDForProgID.ps1

3 lines
160 B
PowerShell
Raw Normal View History

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