Generating PowerCLI code using Onyx

Onyx is a very useful fling that we could use with the C# client to record the actions taken in the client and generate equivalent PowerCLI .NET code. It is a script recorder that sits between vSphere Client and vCenter Server, and it records what scripts were called whenever you do something within the C# Client. It can output the scripts as raw SOAP messages, C#, and vCO (or vRO) JavaScript code.

vSphere 5.5 Web Client has become the main focus for managing vSphere environment and supports many features that are not available in C# client. Now, we have an updated fling, Onyx for the Web Client, that supports Web Client operations. This version translates actions taken in the vSphere Web Client to PowerCLI .NET ...

Get Mastering PowerCLI now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.