Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Use PowerShell to Display Registry Keys

$
0
0

Summary: Learn how to use Windows PowerShell to display registry keys.

Hey, Scripting Guy! Question How can I use Windows PowerShell to provide a list of registry keys that I can filter, instead of using Regedit to search?

Hey, Scripting Guy! Answer 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


Viewing all articles
Browse latest Browse all 3333

Trending Articles