PrinterPort -Name $printer.Name -ComputerName $env:COMPUTERNAME -Confirm:$false } #Add printer and configure it with the required options Add-PrinterPort @PrinterPortOptions Add-Printer @PrinterAddOptions -ErrorAction SilentlyContinue Set-PrintConfiguration @PrinterConfigOption...
cscript.exe C:\Windows\System32\Printing_Admin_Scripts\en-US\prnmngr.vbs -a -p "Kyocera Ground Floor" -m "Kyocera ECOSYS P3055dn PCL" -r "IP_123.123.123.123" And remember not to forged the quotes in the name of the printer!
cscript.exe C:\Windows\System32\Printing_Admin_Scripts\en-US\prnmngr.vbs -a -p "Kyocera Ground Floor" -m "Kyocera ECOSYS P3055dn PCL" -r "IP_123.123.123.123" And remember not to forged the quotes in the name of the printer!