Awesome. Markdmac, your script worked well, but I ended up modifying Dm4ever's snipit. Here is what I ended up with:
'Remove ALL old printers except Default
Dim objWMIService : Set objWMIService = GetObject("winmgmts:\\" & _
strComputer & "\root\cimv2")
Dim colPrinters...
dm4ever,
Thank you for your speedy reply!
You code works quite well in returning the default printer, but I was wondering if you could answer a noob question.
I see how colPrinters is collecting printer information, but what I do not understand is how is objPrinter getting passed the...
I would like to be able to remove all of the network printers from a computer except for the default one. Here is a snipit of the code I am using that removes all networked printers (lifted from markdmac's faq. thank you!!! you're a lifesaver):
Set WSHPrinters =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.