PowerTip: Use PowerShell to Add Printers to Windows Server 2012

Summary: Learn how to use a Windows PowerShell function to add a printer to your server running Windows Server 2012.

Hey, Scripting Guy! Question How do I use Windows PowerShell 3.0 to add a printer to my print server running Windows Server 2012?

Hey, Scripting Guy! Answer Use the Add-Printer function. Specify the name of an existing print driver and an existing printer port. The following illustrates this technique:

Add-Printer -Name "My 9pin" -DriverName "Generic IBM Graphics 9pin" -PortName "LPT1:"

Comments (2)

Cancel reply

  1. Wasisname says:

    Ok now how do you do it in bulk?  Say by importing data from a CSV file so that you can add 50 at a time?

  2. Lionel says:

    Sorry, but the help function of PS gives more information than this minimalistic blog post…

Skip to main content