In the past when I or a customer needed to report inventory on something that isn’t in the default list of available hardware inventory items on an MECM client I would add a custom entry in hardware inventory to collect that data. The old tool RegKeytoMOF was great for that and understanding MOF syntax was helpful if you needed to tweak the code the tool generated.
Fast forward a number of years, and with the addition and steady improvements in CMPivot, I don’t know that I’ll need to perform custom hardware inventory edits as often if a customer just wants a list of machines that have/don’t have a certain item. A recent example is a customer needed to know which Windows 10 machines had TLS configured. My knowledge of TLS is limited but this seems to work:
Registrykey(‘HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\*’) | where key like ‘%TLS%’ | join OS | where (Caption like ‘%10%’) | project device, Key, Caption, Version
