If you've been managing a virtual environment for any period of time you've probably received an email requesting that you clone a long list of VMs prior to an upgrade. I have received this request a variety of times and decided this needed to be automated.
The function performs the following tasks:
I've used this function several times and has saved me a ton of time. Hope it helps you as well.
Thanks
Josh
http://www.vtesseract.com/post/16447807254/clone-list-powercli-function