Schedule auto-reboot of hyper-v host | Nutanix Community
Skip to main content
Hello guys,



I have a question regarding schedule auto-reboot of nutanix hyper-v nodes.

Understand there is a cau preupdate powershell script to auto reboot the node 1 by 1 and ensure CVM is up and running before executing reboot action on the next node.



Is there a similar script we can use so that we can schedule auto reboot the Hyper-V nodes 1 by 1 without having the risk of all the nodes / CVM or cluster down at the same time?



Thanks.



Regards,

Tze Siong
I'm curious, what is the requirement behind needing to schedule a reboot of every node within the cluster?
Hello,



The reason for this is because customer would like to do a schedule auto-reboot in the late hours after every manual windows patching in the daytime.



As the customer is not really tech savvy, therefore they would like to have something to automate the reboot.



Thanks.



Regards,

Tze Siong
Maybe the following link can be used as reference to create or modified your own script

http://blog.powershell.no/2012/05/28/working-with-scheduled-tasks-from-windows-powershell/

http://www.altaro.com/hyper-v/free-script-restart-virtual-machines-hyper-v/