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