I am trying to take a server name prompt and list out the shares associated with that server. Best case would be to also take in a portion (base name) of the printer share and find matches. Example, user inputs:
SERVER = MySever
PRINTERNAME = Printer0001
and the code would return:
\\MyServer\Printer0001_PCL
\\MyServer\Printer0001_PS
\\MyServer\Printer0001_DblSd
is this possible?
Bookmarks