Reader small image

You're reading from  Mastering PowerCLI

Product typeBook
Published inOct 2015
Reading LevelIntermediate
PublisherPackt
ISBN-139781785286858
Edition1st Edition
Languages
Right arrow
Author (1)
Sajal Debnath
Sajal Debnath
author image
Sajal Debnath

Sajal Debnath is a highly certified Cloud computing technocrat with more than 12 years of experience in virtualized data center design, Cloud computing, and BC/DR solutions. He is an EMCISA, VCAP-DCD/DCA, VCAP-CID/CIA, RHCE 4/5/6, RHCVA, Openstack, and ITIL certified person. He is presently associated with VMware Software India Pvt. Ltd. as a senior system engineer. Previously, he worked with France Telecom, Hewlett Packard, and many more in multiple roles. He is involved in prestigious Indian government projects, such as National Cloud, Digital Locker, and so on.
Read more about Sajal Debnath

Right arrow

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 code. The resulting code can then be used to understand how VMware performs an action in the API and also better define functions. You can download the fling from https://labs.vmware.com/flings/onyx-for-the-web-client.

There's an excellent blog written...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Mastering PowerCLI
Published in: Oct 2015Publisher: PacktISBN-13: 9781785286858

Author (1)

author image
Sajal Debnath

Sajal Debnath is a highly certified Cloud computing technocrat with more than 12 years of experience in virtualized data center design, Cloud computing, and BC/DR solutions. He is an EMCISA, VCAP-DCD/DCA, VCAP-CID/CIA, RHCE 4/5/6, RHCVA, Openstack, and ITIL certified person. He is presently associated with VMware Software India Pvt. Ltd. as a senior system engineer. Previously, he worked with France Telecom, Hewlett Packard, and many more in multiple roles. He is involved in prestigious Indian government projects, such as National Cloud, Digital Locker, and so on.
Read more about Sajal Debnath