Would you like to learn how to query the Windows registry using Powershell? In this tutorial, we are going to show you how to use Powershell to get information from the Windows registry.

• Windows 2012 R2
• Windows 2016
• Windows 2019
• Windows 10
• Windows 7

Equipment list

The following section presents the list of equipment used to create this tutorial.

As an Amazon Associate, I earn from qualifying purchases.

Related tutorial - PowerShell

On this page, we offer quick access to a list of tutorials related to PowerShell.

Tutorial Powershell - Query the Windows registry keys

As an Administrator, start an elevated Powershell command-line.

Windows 10 - powershell elevated

List all keys from a Windows registry path.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

List only the name of all keys from a registry path.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

You are able to list the Windows registry keys using Powershell.

Tutorial Powershell - Query the Windows registry properties

List all properties from a registry key.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

List only the name of all properties from a registry key.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

You are able to list properties of a Windows registry key using Powershell.

Tutorial Powershell - Query the Windows registry values

List the value of a Windows registry property.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

You are able to get the value from a Windows registry property using Powershell.