I needed to move all my VM swap files from one datastore to another and after i changed the swap location i needed to VMotion each vm once to make them relocate the swap file.
I wrote a quick workflow that puts one host at a time in to maintenance mode for a cluster.
As you can see this was written before the new for-each functionality that now exists in 5.1, I will be rewriting this in a future post to show how much easier it is to do that now.
As always, make sure you test it thoroughly before running on any production systems. And no warranties are included.
Any comments / suggestions are welcome.
Download package here.