Skip to content

Instantly share code, notes, and snippets.

@C-Bam
C-Bam / .ps1
Created July 11, 2018 12:20
[List Com Object] Permet de lister les objets COM
Get-ChildItem HKLM:\Software\Classes -ErrorAction SilentlyContinue | Where-Object {
$_.PSChildName -match '^\w+\.\w+$' -and (Test-Path -Path "$($_.PSPath)\CLSID")
} | Select-Object -ExpandProperty PSChildName