Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

add-printer

$
0
0

on a 2012 server I can run add-printer commands.

add-printer -ConnectionName \\OurPrintServer\FNPAS10Q   this works and it adds the printer to my 2012 server.

if you run add-printer -comp it will Auto-Fill the rest of your command to -ComputerName.  Yet I can't get this to work. 

Add-Printer -ComputerName '\\PCname1'  -ConnectionName \\OurPrintServer\FNPAS10Q  

this fails with the following error:   Add-Printer : Parameter set cannot be resolved using the specified named paramete.

How come?

 

 

 

 


Viewing all articles
Browse latest Browse all 6937

Trending Articles