Hello all, I am wondering is there a way to shutdown all VM's from the my virtual center server? I would like one simple way to shut them all down at one time.
The GUI has the shutdown schedule, but it will only allow you to schedule one at a time! With 70+ VM's it would take a mighty long time to create those jobs 1 at a time.
Any help appreciated!
Have you looked at the scripting API's? There should be an example on how to do that with a VB / WSF script
You can highlight more then one server and then shut them all down at once. FYI it will be very resource intensive and might take a little bit to finish
\*EDIT* never mind, I see from each host I can select bunches at one time.
Still a VB script on the VC that I could schedule would be great, any out there ??
\----
My GUI for VC will not allow me to select more than one VM at a time.
Message was edited by:
gmorrow
Have you looked at the scripting API's? There should be an example on how to do that with a VB / WSF script
I was able to find how to shut down single VM's but need help with the syntax on shutting down all of them. Not sure what to use in lieu of the single variable for a each VM.
Look at sample3.vbs You can reverse engineer this to do what you need
thanks will do!