February 1st, 2013

PowerTip: Use PowerShell to Add Printers to Windows Server 2012

Doctor Scripto
Scripter

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

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.