As an Administrator, start an elevated Powershell command-line. List all keys from a Windows registry path. Here is the command output. List only the name of all keys from a registry path. Here is the command output. You are able to list the Windows registry keys using Powershell. There are a number of different ways to test for the presence of a registry key and value in PowerShell. Here's how I like to go about it. We'll use an example key HKLM:\SOFTWARE\TestSoftware with a single value Version: Check for the key. You can use the Test-Path cmdlet to check for the key, but not for specific values within a key. For. For registry operations, use: Get-ItemProperty and Get-ItemPropertyValue to read registry values and data. Get-Item to get registry keys and sub-keys (but not to read registry values and data) Get-ChildItem to list sub-keys within keys and hives. Optionally, use New-PSDrive to make registry drives (only HKCU and HKLM exist by default).