1
0
mirror of https://github.com/mgeeky/Penetration-Testing-Tools.git synced 2024-12-23 17:39:48 +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 }
}