I have several GSX servers that are used mainly for application development by our in house development department. I'm looking for a script or something that I could run in conjunction with a backup that would either shutdown or suspend all running VM's, this script would be run just before I kick off a backup of the GSX host machine, then after the backup finishes I need a way to restart all the VM's that were shutdown.
There may be some vm's that are already powered off before this script runs and I need their state to stay the same (don't want them restarted after the backup completes)
Anyone know or have a script that does this already?