VMware recently redesigned their Dev Center website and it's getting pretty cool. If you're not familiar with Dev Center it is basically a compilation of all things developer related. There's sample code, OpenStack info, automation ideas and all sorts of cool DevOps related things.
As I was browsing through the site a came across sample code snippets for managing your vSphere infrastructure. We can do things like destroy VMs, monitor and acknowledge alarms, create clones, get lists according to CPU usage, etc., etc. There's a ton of information and ideas and I highly encourage checking it out if you're getting started with DevOps!