Le Onyx nouveau est arrivé ! *

Did you convert to the vSphere Web client when you installed vSphere 5.5 or 6.0 ?

Are you using PowerCLI ?

Do you sometimes use SDK API methods for those special scripts ?

If you answered yes to some of these questions, you must be missing the Onyx Project application ! Well, your patience is rewarded. In the Fling repository you will find, starting today, the new Onyx for the Web Client v1.0 package.

OnyxMain

With the new Onyx you can watch which methods and properties all your Web Client actions are using. And with that knowledge you can easily ascend another level or two on your path to automation nirvana !

The installation of the Onyx for the Web Client is very straightforward. Since it is a fling, there is a word of warning that you should not install this on a production box. The installation replaces a number of core Web Client files. So make sure to use a test or development box to install the fling.

When you fire up the Web Client after the installation, you’ll notice two new icons in the Web Client’s toolbar.

onyxToolbar

A tool can not be simpler to operate than this new Onyx for the Web Client. If you have a VCR, you’ll probably guess that the red circle icon means Record. Once you click the icon, it will change into a red square. Yes, you guessed right, similar to the Stop function on your VCR.

Between the Record and the Stop, the Onyx for the Web Client fling will record all your activity in the Web Client. When you have thus recorded your activity and hit Stop, it’s time to see what was collected.

That’s where the second icon, the PowerCLI icon, comes into play. Click it, and a new window will open in your Web Client.

OnyxEditor

You see all the code that was executed as a result of the actions you performed in the Web Client. In the screen you have access to some basic functionality like Save and Search. You can also start Recording again from this screen. Everything you Record, even in multiple sessions, will be in the code window. Unless you click Clear between two Recording sessions of course 🙂

The obligatory word of warning on using Onyx:

  • Onyx will show you API methods and properties, not PowerCLI cmdlets
  • The resulting code does not always show you how specific values in there are obtained. Use the code together with the API Reference to understand what is happening
  • The code you see is for the specific task you executed in the Web Client. If you want to use the code in a general way, you will have to adapt it
  • Never execute the code as-is, unless you want to do exactly the same again as you did in the Web Client

So what are you waiting for ? Go and download this indispensable tool now if you take your PowerCLI scripting serious.

Enjoy !

*For the non-French speaking readers, that title means “There is a fantastic new Fling available, Onyx for the Web Client. Go get it!”

2 Comments

    gildas declercq

    Hi.
    I did post a question on vmware community, I don’t get it but I can’t make it work. when replacing the jar file, I then can’t restart the services…
    any idea ?

    thanks
    regards

      LucD

      Did you see the feedback entries on the site ?
      There is a U1 version now.
      Did you try that one already ?
      Onyx Web Client 6U1

Leave a Reply

Your email address will not be published. Required fields are marked *

*
*

This site uses Akismet to reduce spam. Learn how your comment data is processed.