I'm using the following VBScript to set a default printer:
Option Explicit
On Error Resume Next
Dim objNetwork, strUNCPrinter
strUNCPrinter = "\\printer\location\here"
Set objNetwork = CreateObject("WScript.Network")
objNetwork.SetDefaultPrinter strUNCPrinter
WScript.Quit
What I would like for it to do is cycle through printers, basically "If this printer isn't installed, make that one the default"
I've tried just repeating the script, praying that it would repeat the process, but it just errors.