I just discovered an alpha release of a great new automation tool dubbed "Project Onyx".

From the project page:

"Project Onyx is a new tool in that generates code based on the mouse clicks you make in the vSphere Client. Project Onyx makes it easy to see what is happening behind the covers and can help with development of scripts and automation solutions. Please refer to the Using Project Onyx video for set up and more information."

Setting up the tool is very easy and it looks like the tool proxies a connection to ESX/VC from your local machine. From there, regular tasks can be performed in your VSphere Client then captured by Onyx. The resulting Powershell script can than be copied and edited to suit your needs. This is great stuff.