Running Windows 2000
AD
I'm looking to
automate the installation of printers using a vb script and group
policy. I found the script referenced below which works great for
adding the printer and works great with GP. However, I can only add one
printer. Every time I modify it to add additional printers it only adds
one.
Set objWSHNetwork =
CreateObject("WScript.Network") 'create network object
strConnectString = "\\servername\Boston_IT2"
strConnectString = "\\servername\Boston_IT"
strResult =objWSHNetwork.AddWindowsPrinterConnection(strConnectString)
strConnectString = "\\servername\Boston_IT2"
strConnectString = "\\servername\Boston_IT"
strResult =objWSHNetwork.AddWindowsPrinterConnection(strConnectString)
Does anyone out
there know a way of additional multiple printers with this script? I
should mention I am not a vb person.
Thanks
