ESX Virtualization

VMware ESXi, vSphere, VMware Backup, Hyper-V... how-to, videos....

Nakivo Backup and Replication - #1 Backup solution for Virtual, physical, cloud, NAS and SaaS

Menu
  • Certification
      • VCP-VVF Administrator
          • vcp-vvf-2.
        • Close
      • VCP-DCV vSphere 8
          • vcp2024-125.
        • Close
    • Close
  • VMware
    • Configuration Maximums
    • vSphere
      • VVF 9 and VCF 9
      • vSphere 8.0
      • vSphere 7.0
      • vSphere 6.7
      • vSphere 6.5
      • vSphere 6.0
      • Close
    • VMworld
      • VMware EXPLORE 2024
      • VMware EXPLORE 2023
      • VMware EXPLORE 2022
      • VMworld 2019
      • VMworld 2018
      • VMworld 2017
      • VMworld 2016
      • VMworld 2015
      • VMworld 2014
      • VMworld 2013
      • VMworld 2012
      • VMworld 2011
      • Close
    • Close
  • Microsoft
    • Windows Server 2012
    • Windows Server 2016
    • Windows Server 2019
    • Windows Server 2025
    • Close
  • Categories
    • Tips – VMware, Microsoft and General IT tips and definitions, What is this?, How this works?
    • Server Virtualization – VMware ESXi, ESXi Free Hypervizor, VMware vSphere Server Virtualization, VMware Cloud and Datacenter Virtualization
    • Backup – Virtualization Backup Solutions, VMware vSphere Backup and ESXi backup solutions.
    • Desktop Virtualization – Desktop Virtualization, VMware Workstation, VMware Fusion, VMware Horizon View, tips and tutorials
    • How To – ESXi Tutorials, IT and virtualization tutorials, VMware ESXi 4.x, ESXi 5.x and VMware vSphere. VMware Workstation and other IT tutorials.
    • Free – Free virtualization utilities, ESXi Free, Monitoring and free backup utilities for ESXi and Hyper-V. Free IT tools.
    • Videos – VMware Virtualization Videos, VMware ESXi Videos, ESXi 4.x, ESXi 5.x tips and videos.
    • Home Lab
    • Reviews – Virtualization Software and reviews, Disaster and backup recovery software reviews. Virtual infrastructure monitoring software review.
    • Close
  • Partners
    • NAKIVO
    • StarWind
    • Zerto
    • Xorux
    • Close
  • This Web
    • News
    • ESXi Lab
    • About
    • Advertise
    • Archives
    • Disclaimer
    • PDFs and Books
    • Close
  • Free
  • Privacy policy

Onyx for vSphere Web Client – Automate creation of PowerShell Scripts

By Vladan SEGET | Last Updated: November 4, 2015

Shares

A very long time ago I wrote about Onyx for vSphere. At that time there wasn't any vSphere web client, but the magic to see Onyx in action was impressive. First thing you might ask if you're not old school or if just starting with VMware virtualization technologies is What is Onyx? It's simple. Onyx for vSphere Web client allows to automatically transform the tasks you perform within the UI of the web client into PowerShell commands! It's kind a magic, especially for “non scripting” guys (like me..) … where you get your script done in no time.

Once you have that code, with a little effort you can enhance it, to personalize, to adapt to your needs. And then, you just save it as a powershell script for later usage. Alan Renouf has done an excellent job by recording a video of how the things works.

Note that there are two separate downloads. Two versions of Onyx where the first one is for vSphere 6.0 and the second one is for vSphere 6.0 U1. Make sure you download the version which match your environment. Inside of the zip package you'll find the manual telling you exactly how to install it and which are the requirements and best practices.

Onyx for vSphere Web Client

Two different guides are provided as well:

  1. For vCenter server appliance (VCSA)
  2. For vCenter server on Windows

Quote from the Admin guide:

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 helping Developers and System Administrators by providing sample code which shows how an action was taken and gives the basis for code to be re-used in better defined functions or for sample code to be used in search engines to find the API documentation and information on how to use this area of the vSphere API.

If you're planning to test it make sure that you follow the installation guide which shows you also how to uninstall. In fact the product replaces some of the vSphere web client's files so actually it's recommended to use this tech preview Fling only in test or dev environments.

In my case I also wanted to test the Onyx so what I did is I backed up my vCenter server (Windows) and then only I launched the installation script which I previously copied to the c: drive of my Windows VM. Note the big warning before the installer starts…

Onyx for vSphere Client

The installer then stops the vSphere web client service and other vCenter services too…

Onyx for vSphere Web Client

I quickly tested the solution and added an additional NIC to one of my nested ESXi VMs…. then you have an option to save the script as a *.PS1 file on the desktop…

Onyx for vSphere Web Client

The VCSA guide is similar, but you have to use an SCP compatible client to copy the installer into the VCSA. If you're fine with that, then you just follow the detailed guide you'll find in the PDF. Here is the video from Alan Renouf which shows how it works and some of the possibilities for customization.

Check the Onyx for vSphere Web client Download Page here.

Source: VMware blog

Shares
5/5 - (4 votes)

| Filed Under: Server Virtualization

About Vladan SEGET

This website is maintained by Vladan SEGET. Vladan is as an Independent consultant, professional blogger, vExpert x17, Veeam Vanguard x11, VCAP-DCA/DCD, ESX Virtualization site has started as a simple bookmarking site, but quickly found a large following of readers and subscribers.

Connect on: Facebook. Feel free to network via Twitter @vladan.

Private Sponsors

 

Featured

  • Thinking about HCI? G2, an independent tech solutions peer review platform, has published its Winter 2023 Reports on Hyperconverged Infrastructure (HCI) Solutions.
  • Zerto: One Platform for Disaster Recovery, Backup & Cloud Mobility: Try FREE Hands-On Labs Today!
Click to Become a Sponsor

Most Recent

  • VCP-VVF Administrator Study Guide: Objective 4.2 – VVF: Manage, Part 3: Configure Certificate Management within VMware vSphere Foundation
  • VCP-VVF Administrator Study Guide: Objective 4.2 – VVF: Manage, Part 1: Configure Identity Management and Role-based Access Control (RBAC) in VMware vSphere Foundation
  • VCP-VVF Administrator Study Guide: Objective 4.3 – VVF: Operate, Identify the Use Case for VCF Operations and VCF Operations for Logs
  • VCP-VVF Administrator Study Guide: Objective 4.3 – VVF: Operate, Describe the Cluster Components and Deployment Options of VCF Operations
  • VCP-VVF Administrator Study Guide: Objective 2.4 – VMware Network Fundamentals: Differentiate Between VVF Networking Components
  • VCP-VVF Administrator Study Guide: Objective 2.3 – VMware Storage Fundamentals, Part 6: Describe the Purpose of vSAN Space Efficiency
  • Veeam v13 Download Available – Start your download engines!
  • StarWind Virtual Backup Appliance Free – Stay Protected With Immutable Backups
  • VCP-VVF Administrator Study Guide: Objective 2.3 – VMware Storage Fundamentals, Part 5: Identify Options for Resilience and Data Availability in VMware vSAN
  • VCP-VVF Administrator Study Guide: Objective 2.3 – VMware Storage Fundamentals, Part 4: Configure vSAN Storage Policies

Get new posts by email:

 

 

 

 

Deals

Support us on Ko-Fi

 

 

Buy Me a Coffee at ko-fi.com

VMware Engineer Jobs

VMware Engineer Jobs

YouTube

…

Find us on Facebook

ESX Virtualization

…

Copyright © 2025 ·Dynamik-Gen · Genesis Framework · Hosted with HostColor.com