Printer Migration on clients

 

If you plan to use a new print server for your organisation you must change all computers with those new shared printers and set the correct default printer. Then you have to clean up the old printers.

You can achieve this by publishing the new printers via a GPO and delete the old printers via the same GPO.
This leaves me with two issues. How can I be sure the users gets the same printers back he/she has before and how do I set the same default printer back?
A |group policy does not provide me with the right tools for this job but luckily… powershell does the trick! (of course)

I ran into the following script on the internet but the creator has forgotten to put his name in the script. So, I would say that the credits go the the entire internet!

HOW TO USER MY SCRIPT:

  1. As a Network Admin or Network Engineering GURU ALL YOU NEED TO DO IN MY SCRIPT is build the case by simply replacing the switches;
  2. Update and add as many printers you have by copying the syntax and do the correct mapping once, test it in a lab first.
  3. Once ready simply link the script to appropriate OU or security group filtered GPO as a User Logon Script.
  4. In our case we will link in the same GPO which does the Network Drive Mappings in users section without any security filtering.
  5. So as we move on migrating more servers-print queues we will continue to add the line item in switches section below.

 

Leave a Reply

Your email address will not be published. Required fields are marked *