Created
April 23, 2022 19:45
-
-
Save exorcistas/3634fc1c306e8c9e39118e4484f77bc1 to your computer and use it in GitHub Desktop.
Powershell script to fetch registered COM objects
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get-ChildItem HKLM:\Software\Classes -ErrorAction SilentlyContinue | Where-Object { | |
$_.PSChildName -match '^\w+\.\w+$' -and (Test-Path -Path "$($_.PSPath)\CLSID") | |
} | Select-Object -ExpandProperty PSChildName | Out-GridView |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment