Use a standardized naming convention for the DGGs and enum them into an array.
Using the newest AScan() search for a partial match on the groupname prefix.
Create an INI that maps the relationship between groupname and printername/sharename.
Loop through the AScan() positives and pull the printername/sharename from the INI.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.