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

How to make print property command work the first time. It takes 2 to 4 times before it works.

$
0
0

I am using this command to change the printer property from color to black and white. It works for the first time but when I try to use it again for a different printer it looks like it worked without error but when I check the property of the printer it is still color. If I run the exact same command again it may work or it may not but it eventually works the more I run it.  I put two commands that I use and both give the same result.

I have over 2000 printers change this property on and was hoping power shell would help me. Any help would be appreciated. 

set-printconfiguration -printername prn#### -color $false

set-printconfiguration -printername prn#### -color $false -duplexingmode onesided

 


Viewing all articles
Browse latest Browse all 6937

Trending Articles