Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Cain8869

  1. Cain8869

    Remove all network printers except default

    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...
  2. Cain8869

    Remove all network printers except default

    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...
  3. Cain8869

    Remove all network printers except default

    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 =...

Part and Inventory Search

Back
Top