Hi Guys,
I need to on a regular basis shutdown servers stop and start services and then start servers up again.
I found a bunch of scripts to shut down all servers and the restart the cluster box.
But my problem is that the server's are part of a failover cluster and not necessarily on the same node.
So I need a script to check if the server is part of a node if not move on to the next until it finds and shuts down the vm.
Then stop services on another vm and then stop other servers , then I need to start the server in the right sequence starting the services I stopped previously .
I have tried downloading the above scripts to edit it but can't get it to work properly.