Each registry key has a default value. It is called (default) when you look into regedit. To read this default value, you can just use this name (and put it into quotes). For example, use this line to find out the currently associated program for PowerShell scripts:
Select-Object -ExpandProperty '(default)'