r/PowerShell • • May 03 '22

Script to install printer through intune NSFW

Hi Folk

I am trying to install network printers on clients devices through intune. Could you suggest the power shell scrip for that. I have onsite print server installed.

0 Upvotes

24 comments sorted by

View all comments

1

u/FlibblesHexEyes May 03 '22

We went the Azure Universal Print path. No drivers to deploy - the user can select the configured drivers from the Settings panel, though there is a tool you can use to automatically deploy the printer queues to the device (it’s name escapes me right now).

Depending on your licensing, you may already have Universal Print available - it just needs to be turned on and configured.

1

u/[deleted] May 03 '22

I am currently setting up UP as well, but in our case we already have 3000+ printers in our environment active that are not UP native. Even if they were the documentation provided by Microsoft show's it would be very hard/impossible to automate the enrollment of that many devices.

I am using UPC and then running scripts to map printers in mass using universal PCL 6 drivers. Then I run scripts to add them to UP in Azure and assign security groups and location attributes so users only see their site printers, with the correct hierarchy info.

1

u/FlibblesHexEyes May 03 '22

We only have the one printer (non-AUP native) - it’s a FollowMe printer, so it’s always one printer queue that you print to, and then when you tap your security card on the printer it dumps the job.

We installed the AUP connector on the printer host to proxy the connection between AUP and the FollowMe queue. It also does on-prem AD user impersonation to match the job to the user tapping on the printer.

To deploy we deploy a Microsoft tool to all the devices via InTune - this tool reads a CSV file that contains the printer name and GUID and auto installs it at login. For the end user this makes it transparent.

But as you say, the AUP printer directory is pretty easy to configure from an Admin point of view, and really easy for an end-user to go find their printer in the directory.