Print server migration

The following script migrates from print server A to server B with the following actions:

  • Map printers to the new server
  • Removal of the workstation printers that are mapped to the old server only if they are present on the new one
  • Changing the default printer if it is a printer from the old server.

In order to be able to follow the execution of the script, traces are written in the Windows event viewer.

In order to be able to follow the execution of the script, traces are written in the Windows event viewer.

Modify the following two lines according to your environment:

PrinterServerOld = "SERVER_A"
PrinterServerNew = "SERVER_B"

Romain Drouche
System Architect | MCSE: Core Infrastructure
IT infrastructure expert with over 15 years of field experience. Currently a Systems and Networks Project Manager and Information Systems Security (ISS) expert, I use my expertise to ensure the reliability and security of technological environments.

Leave a Comment