Does anyone have a script to read persistent drive mappings from the registry?

I want to(in script) note the current drive mappings before I remap them using the MapDrive Function.

Fomr what I can determine they are stored in "HKCU\Software\Microsoft\Network\Persistant" with subkeys being the drives.


Edited by coder (2009-02-13 06:27 PM)
Edit Reason: add reg key