Script to disable setting for printer queue in device settings->Duplex Unit

do any one have PS script to disable setting for printer queue in device settings->Duplex Unit (for 2-Sided Printing). When I create the printer queues is turned on automatically as it says “Installed” I would like this to be “Not installed”.

I have multiple queues so I hope I can run the same command over and over on different printer queues.

Thanks for your kind help in advance.

Does this help: https://devblogs.microsoft.com/scripting/weekend-scripter-use-powershell-to-fix-broken-printer/

Darwin - Thanks I was able to execute this. How can I change following setting under advance->print on both side to “None” ?

Thanks.

 

You might take a look at Set-PrintConfiguration. It looks like that cmdlet can set those kind of settings.

If it’s not that, it’s probably some other cmdlet in that module. This will show you a list of all standard print management cmdlets:

Get-Command -Module PrintManagement

Set-PrintConfiguration -PrinterName “Name of Printer” -DuplexingMode OneSided