Well since we use and test DBs in production, I maintain a deploy script (not even powershell) which reads nodenames from another file and then does for every node basically the following:
- stop render service (I run
drserver as windows service)
- wait for max intance(s) to terminate
- clean drdata directory
- clean plugcfg directory
- copy drserver executable if present
- copy corona files
- start render service again
So a new release / DB / RC means just 1 minute actual work for me (extract files, increment directory name, run script), the rest completes in the background in about 3 minutes for ~20 nodes.
There are a few requirements though (most important of course that every max installation has to be exactly the same regarding paths and admin share access with the same credentials on every node must be granted) which prevents me aside other things to share it but I try to make it more and more generic with the purpose of having some day exactly what you are asking for :)
Here is a screenshot of the output (older version):
https://forum.corona-renderer.com/index.php/topic,11657.msg75326.html#msg75326Good Luck