whats the total number of ns in:
q: reboot virtual machine every 20 minutes we need to be able to create a way to reboot virtual machines in the lab every 20 minutes automatically.
is there any way this can be done in vsphere 5?

a: i dont have access to vsphere now but it should be like this:


*

*go to scheduled task (home->...)

*create new task changing vm power state

*select virtual machine

*select power operation option reset

*select frequently

*finish


alternatively you can use vsphere cli :
http://pubs.vmware.com/vsphere-50/topic/com.vmware.vcli.examples.doc_50/cli_manage_vms.10.6.html

a: i would use a vsphere scheduled task for this, like alan said.


*

*power on: turns on the power

*power off: turn off the power

*shut down: tidy shutdown of the guest os

*suspend: tidy suspend of the guest os

*reset: power-cycle the guest (basically power-off then power-on)


in addition, i dont see any point in rebooting a broken machine, so you could also use non-persistent disks on it, so that when the vm reboots, it reverts back to a known good state. otherwise rebooting a hacked machine just results in a hacked machine...
there is an obvious problem with a scheduled restart though: what happens if i connect to start testing my exploit at 13:59, and the restart is scheduled for 14:00?

a: why dont you simply create a bat file 
having code 
shutdown -r -f -t 1200000 ;

and create a schedule to execute it

user
I found sixty-four "n"s in the provided passage.
assistant