Have you considered just deploying a new app from your old Deployment Server that updates where every UF should check-in to the new Deployment Server(s)?
This is how I’ve done it every time I’ve needed to
from User warren – Stack Overflow https://stackoverflow.com/questions/75559924/need-powershell-script-to-point-client-machines-to-new-splunk-deployment-server/75560351#75560351
via IFTTT