Printers,  Windows Tips

How to add and remove a printer via Powershell in Windows

Click on the Start button and type powershell. Right click on powershell and click run as administrator.

To Add a printer (Local)

Type Add-Printer -Name “PrinterName” -DriverName “HP LaserJet 2300” -Port USB001

To Add a printer (Network)

Type Add-Printer -ConnectionName \\printServer\printerName

To Remove a printer

Type Remove-Printer -Name “PrinterName”

To List printers

Type Get-Printer | Format-List NameThis Powershell command is extremely helpful in situations where you can’t delete the printer via normal methods.

This is a great link to MS with the command lines/syntax.

Extra Info:

Did our article help you? Here are some ways you can help us.

Have a look at our IT Tech Tool Kit List, need ideas on what to buy? I have listed my top 30 tools here.

Buy me a coffeeBuy me a coffee

No votes yet.
Please wait...

2 Comments

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.