Thursday, September 27, 2007

VBscript Remove a Windows based printer

'Script Start


Set objNetwork = WScript.CreateObject("WScript.Network")
objNetwork.RemovePrinterConnection "\\servername\printername"



'Script End



How to execute a VBScript

No comments: