shabbarankers
Technical User
Hi All,
I'm trying desperately to delete a local IP based printer from some workstations. I don't want to delete ALL local IP printers just one that's been replaced. When I call up
WshShell.Run ("rundll32 printui.dll,PrintUIEntry /q /dl /n " & chr(34) & "Printer Name Here" & chr(34))
It doesn't remove the printer just carries on with the script and adds another of the same name. Can anyone help me with this please?
Thanks
I'm trying desperately to delete a local IP based printer from some workstations. I don't want to delete ALL local IP printers just one that's been replaced. When I call up
WshShell.Run ("rundll32 printui.dll,PrintUIEntry /q /dl /n " & chr(34) & "Printer Name Here" & chr(34))
It doesn't remove the printer just carries on with the script and adds another of the same name. Can anyone help me with this please?
Thanks