Delete Local Printers via a Script

A case where a Microsoft Windows print server may once existed and a new print server had been put into place; the local workstations that accessed the printer shares of the original print server no longer require those shares. Here is a script to remove all local printers prior to adding new printers.

wmic printer where "Local='FALSE'" delete /nointeractive

Source
www.experts-exchange.com