Skip to main content

Navigate the Registry

Problem

You want to navigate and explore the Windows Registry.

Solution

Use the SetLocation just as you would navigate the filesystem to navigate the registry:

PS >SetLocation HKCU: PS >SetLocation \Software\Microsoft\Windows\CurrentVersion\Run PS >GetLocation

Path

HKCU:\Software\Microsoft\Windows\CurrentVersion\Run

Discussion

PowerShell lets you navigate the Windows Registry in exactly the same way that you navigate the filesystem, certificate drives, and other navigation-based providers. Like these other providers, the registry provider supports the SetLocation cmdlet (with the standard aliases of sl, cd, and chdir), PushLocation (with the standard alias pushd), PopLocation (with the standard alias popd), and more.

If you need dedicated infrastructure for business applications, consider a Dedicated Server France  for greater control over server resources, operating system configuration, networking, and workload management.

Help Category