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
pnputil -i -a "C:\temp\PCL6 Driver for Universal Print Ver 18.104.22.168\64bit\oemsetup.inf"
Add-PrinterDriver "RICOH PCL6 UniversalDriver V4.6"