doc, not really most efficient...
looping the share is doable without any files.

a simple example... winnt provider.
it can list shares, right?

not sure does it list print shares though.
don't have a single printer share to test on
Code:

$PrintServer = "priServer"

$adsiprovider = GetObject("WinNT://" + $PrintServer + "/LanmanServer")

For Each $Share In $adsiprovider
$Share.name " " $Share.path ?
Next

_________________________
!

download KiXnet