I will give you some list of sites where you can find all information regarding types of scripting language that can used to run in vSphere power cli for ESX 5.x. Image may be NSFW.
Clik here to view.
Below are the links :-
1) http://blogs.vmware.com/vipowershell/
2) http://www.virtu-al.net/2009/07/10/running-a-powercli-scheduled-task/