Summary: Learn how to use Windows PowerShell to display registry keys.
How can I use Windows PowerShell to provide a list of registry keys that I can filter, instead of using Regedit to search?
Use the Get-ItemProperty cmdlet and point it to a specific registry hive. The following command looks for
software and Microsoft on the HKLM drive. It uses the psChildName property to display the registry key names.
Get-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\* | select pschildname