The EnumPrinterConnections method returns the current network drive mappings as a WshCollection object. Items in this collection are local names and remote names.
WshNetwork.EnumPrinterConnections = objWshCollection
Set WshNetwork = Wscript.CreateObject("Wscript.Network")
Set oPrinters = WshNetwork.EnumPrinterConnections
Wscript.Echo oPrinters.Item(0) = "LPT1:"
Wscript.Echo oPrinters.Item(1) \\Server\Printer1"
WshNetwork.AddPrinterConnection method, WshNetwork.RemovePrinterConnection method, WshCollection object