Change Print Driver En Masse – Print Management

Welcome Forums General PowerShell Q&A Change Print Driver En Masse – Print Management

Viewing 1 reply thread
  • Author
    Posts
    • #221439
      Participant
      Topics: 1
      Replies: 0
      Points: -8
      Rank: Member

      Hello all,

      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)”

      }

       

    • #221487
      Participant
      Topics: 4
      Replies: 2249
      Points: 5,494
      Helping Hand
      Rank: Community MVP

      Kevin, welcome to Powershell.org. Please take a moment and read the very first post on top of the list of this forum: Read Me Before Posting! You’ll be Glad You Did!.

      When you post code or error messages or sample data or console output format it as code, please.
      In the “Text” view you can use the code tags “PRE”, in the “Visual” view you can use the format template “Preformatted”.
      Thanks in advance.

      What is your question?

Viewing 1 reply thread
  • You must be logged in to reply to this topic.