Skip to content

Instantly share code, notes, and snippets.

@kdheepak
Created July 3, 2017 16:24
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 kdheepak/7e186507a4764c8e0ec59de65239d2e6 to your computer and use it in GitHub Desktop.
Save kdheepak/7e186507a4764c8e0ec59de65239d2e6 to your computer and use it in GitHub Desktop.
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