Trying to find information on how to set the default tray and paper type for a printer build script I’m trying to build.
This is my first time doing any real script building. Here is what I’ve built and it works so far $Computers = 'Server1','Server2','Server3','Server4'$PrinterPort = Read-Host - - Pastebin.com
My end goal is to have a script that will add a single printer to 4 print servers. That printer will be installed 4 times on each print server and each install will have a specific tray and paper configurations.
I’m just not having any luck on finding out how to set the default paper and tray for each printer install.
I found this but I don’t really understand it. https://gallery.technet.microsoft.com/scriptcenter/Set-the-Printers-Default-eee2631d
Thanks for any help