Powershell – Add Printer Driver in 2012 R2

Powershell is all about consistency, I have to install about 600 printers on 6 servers and I will have to rebuild these servers from scratch 2 or 3 times a year with an upgraded application that uses the printers…

Before you try to add printers using powershell, you have to have the driver installed

Luckily I have only 1 printer driver to install

Download your printer driver and extract it.

In the example below I have extracted my Rich Printer driver to c:\temp

I do a Get-PrinterDriver to see what is currently listed, use the pnputil to add the full driver package to the driver store, then just install the Ricoh PCL6 Universal driver.

I then do a Get-PrinterDriver to check it is listed

Next is to add all the Printers

 

 

Get-PrinterDriver

pnputil -i -a "C:\temp\PCL6 Driver for Universal Print Ver 4.6.0.0\64bit\oemsetup.inf"
Add-PrinterDriver "RICOH PCL6 UniversalDriver V4.6"

Get-PrinterDriver

 

One thought on “Powershell – Add Printer Driver in 2012 R2

Leave a comment

Your email address will not be published. Required fields are marked *

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