PowerTip: Use PowerShell to Add Printers to Windows Server 2012

PowerTip: Use PowerShell to Add Printers to Windows Server 2012

  • Comments 2
  • Likes

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:"

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • 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?

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