According to
this StackOverflow answer[
^], it is possible to do this in Powershell.
reg.exe load 'HKLM\TempHive' Path\to\offline\file.dat
$path = Get-ItemProperty -Path "HKLM:\TempHive\Network\z" -name RemotePath | Select-Object -ExpandProperty RemotePath
reg.exe unload 'HKLM\TempHive'