If you need to move all the ops master roles to one server you can do it with this script.
ntdsutil roles connections "connect to server servername" quit "transfer pdc" "transfer rid master" "transfer infrastructure master" "transfer naming master" "transfer schema master" quit quit