Quantcast
Viewing all articles
Browse latest Browse all 34890

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.

Image may be NSFW.
Clik here to view.
Hey, Scripting Guy! Question
 How do I use Windows PowerShell 3.0 to add a printer to my print server running Windows Server 2012?

Image may be NSFW.
Clik here to view.
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:"

Image may be NSFW.
Clik here to view.

Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 34890

Trending Articles