Currently change of hostname is done manually in the Server properties within CMC, Basically we want to automate update of all servers Virtual Hostname in CMC so that in future if we want to change Hostname we can do it through automated script.
By default is it Set to Auto Assign however we want to select Hostname and give the Virtual hostname for the all Servers.