Often there is a need to find out with which PowerCLI cmdlet exactly this or that action is performed. the Onyx project can help with this - a proxy server between the vSphere Client and vCenter, allows you to record actions performed in the vSphere Client GUI, as a PowerCLI script. This utility does not produce the most optimal script, but is useful in cases when you need to quickly find a way to automate any actions using PowerCLI