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 navigationbased 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.