Onyx for the Web Client

Onyx for the Web Client is a Fling that translates actions taken in the vSphere Web Client to PowerCLI.Net code. This Fling was the winning entry in last year’s 2014 Fling Contest. It’s an update, of sorts, to the Onyx fling, as it allows for similar functionality in the web client. The Onyx for the Web Client Fling provides the ability to record actions taken in the vSphere Web Client and turn these actions into 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 could also input the resulting code into search engines to find the API documentation and information on how to use this area of the vSphere API. Also see this article: Onyx for the Web Client Onyx4WC

vSphere Web Client Version 6.0.0 Build 2559277 or vSphere Web Client Version 6.0.0 Build 2997665 (6.0 U1) as installed as part of vCenter for Windows or vCSA.

For vCenter 6.0 please download and use the onyx-setup-60.zip file, for vCenter 6.0 U1 please download and use the onyx-setup-60u1.zip file. For vCenter 6.0 U2 please download and use the onyx-setup-60u2.zip file.

For step-by-step, detailed instructions, including screenshots, please read the PDF.

vCenter Virtual Appliance (VCVA):

Copy the contents of the zip file to the vCenter Appliance machine (for example using WinSCP) to /root/onyx-setup

Note: To connect with WinSCP to vCA, use the SFTP protocol and set the SFTP server configuration for the connection to "shell /usr/lib64/ssh/sftp-server"

Open ssh session to the vCenter Appliance machine using the root user

Run the following commands:

cd /root/onyx-setup
chmod +x ./install.sh
./install.sh

vCenter on Windows:
Copy the contents of the zip file to a folder on the Windows machine where vCenter is running.

RDP to the machine running the Web Client

Open a PowerShell session on the Windows machine running vCenter using the Administrator user

CD into the folder where you have extracted the Fling zip

Run the following command:

./install.ps1

Updated for 6.0 U1

Add a Comment
Report a Bug