How i use this Script, when the old servername is server1 and the new server4
and the printer change from homeprinter1,homeprinter2... to printer1, printer2...?

Thank you for your HELP