This idea has been merged into another idea. To comment or vote on this idea, please visit PCLI-I-3 Onyx support for HTML5 and REST APIs.
On some Windows servers, it is possible to display the powershell script that will do the same actions as you are doing through GUI, It would be very helpful to have the same thing on ESXi client and/or vcenter web client (nevermind if it is on the Flash or the html 5 one).
This maybe related to https://powercli.ideas.aha.io/ideas/PCLI-I-3
Onyx captures the underlying API calls and outputs them as PowerShell. More info here: https://labs.vmware.com/flings/onyx-for-the-web-client
Note that it is not yet available for the HTML5 client, but stay tuned. :)