To remove / add printers and their drivers in Microsoft Windows 8 / Windows Server 2012 via Powershell you can find here some examples of Powershell commands:

Remove Network printers:

(New-Object -ComObject WScript.Network).RemovePrinterConnection("\\Server\Printer")

Add Network printers:

(New-Object -ComObject WScript.Network).AddWindowsPrinterConnection("Server\Printer")

remove specific driver

Remove-PrinterDriver –Name "Microsoft XPS Document Writer v4"

This will remove exact the Microsoft XPS Document Writer v4 Driver.

If you want to remove all Drivers from Canon for example use this command:

Remove-PrinterDriver –Name "Canon"

Verwandte Projekte
Contact Us

We're not around right now. But you can send us an email and we'll get back to you, asap.

Nicht lesbar? Text ändern. captcha txt