How to Install Universal Printers from the Command Line?

0
9
Asked By CuriousCoder42 On

I'm having a tough time getting Universal Print to work through the command line. I wrote a script to replace existing printers with their Universal Print versions, but I can't seem to get the installation to work. I've tried using 'Add-Printer', but it hasn't been successful. I'm also confused about how 'upprinterinstaller.exe' works since I can't find any documentation. I remember something about needing to place a 'printers.csv' file somewhere for 'upprinterinstaller.exe' to find it and install the printer on the next login, but I can't locate any guidance on that either. My aim is to swap out installed printers for their Universal Print counterparts without relying on PowerShell alone. We have Intune to assign printers, but we want to replace like for like. Any help would be appreciated!

1 Answer

Answered By PowershellWiz On

To install the printer via PowerShell, you'll need to follow a few steps: first, create the printer port, then install the driver, and finally create the printer linked to that port. You can even execute these commands remotely with 'pssession' if your setup allows for it. Also, check out r/PowerShell—it’s a great resource for learning commands. Don’t forget to post your code for better assistance!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.