Remove printers from being deployed with Group Policies

Hi I am deploying new print servers in my environment.

I need to create a script to remove all the current printers from being deployed from the old printer server. The current printers are ‘Deployed with Group Policy", and can only be remove via the "Deploy with Group Policy’ Method. Currently I have over 300 printers deployed in this method in my environment.

If someone has a script they could share or method to un-deploy the printers I would appreciate your insight.