I’m looking for assistance in automating the process of updating printer drivers in Print Management en masse. Currently I manually export my printer list and use excel to filter on the drivers, then create a csv file and call that. I’d love to automate the process of exporting the printers with a specific driver.
$PrinterCSV = Import-CSV -Path “C:\printerlist.csv”
foreach($Printer in $PrinterCSV)
$CurrentPrinter = $Printer.Name
Write-Host “Updating printer driver to ‘HP Universal Printing PCL 6 (v6.9.0)’ on $CurrentPrinter”
Set-Printer -Name $CurrentPrinter -DriverName “HP Universal Printing PCL 6 (v6.9.0)”