Trying to run a VBS script using PDQ Deploy.
It works fine if you run it, but it doesn't deploy correctly.
Says "Successful", but no changes are made on the computer....
Here is the script if it matters:
VB.net
' put in the server names here (keep the quotes!) MovePrinters"!","!"' ********************************************* ' Move printers to new server ' ********************************************* SubMovePrinters(OldServer,NewServer)' Loops through all network printers and moves all printers ' on "OldServer" to the same printername on "NewServer". dimWshNetwork,oPrinters,i,PrinterPath,DefaultPrinter,PrinterListSetWshNetwork=WScript.CreateObject("WScript.Network")SetPrinterList=CreateObject("Scripting.Dictionary")' Get the default printer before we start deleting: DefaultPrinter=GetDefaultPrinter' Get a list of...