Skip to content

Instantly share code, notes, and snippets.

@zmej-serow
Created July 16, 2019 20:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zmej-serow/5b8ca657b035e6fb2c9d6ae961791b74 to your computer and use it in GitHub Desktop.
Save zmej-serow/5b8ca657b035e6fb2c9d6ae961791b74 to your computer and use it in GitHub Desktop.
Get list of available COM objects
Get-ChildItem HKLM:\Software\Classes -ErrorAction SilentlyContinue |
Where-Object { $_.PSChildName -match '^\w+\.\w+$' -and (Test-Path -Path "$($_.PSPath)\CLSID") } |
Select-Object -ExpandProperty PSChildName
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment