How to add or Remove the instances from existing password manager server

I am having 5 2008R2 instances in my password manager server and want to remove them and add new 2019 servers in it.

Please give me the steps.