Thursday, September 27, 2007

VBScript add a windows based printer

'Script Start


Set objNetwork = Wscript.CreateObject("WScript.Network")
objNetwork.AddWindowsPrinterConnection "\\HRServer01\Printer1"


'Script End



How to execute a VBScript

No comments: