Today at VMware Explore I have launched a new version of the Horizon Golden Image Deployment Tool aka hgidt. This new version is a complete rewrite of the old one as I moved the code base to Python. As base I used a converted framework of the old tool (using ChatGpt :D) in Tkinter and my existing python module for Horizon.
Why the rewrite?
I decided for a rewrite as I wante dto be able to publish the tool as an app and most anti malware tools will flag an exeutable that turns out to be a powershell script as malicious. Besides that I thought it would be easier to make the tool more flexible and more important faster. I also wanted to be able to use it from a mac. While the tool itself works flawless when started as a script I did run into issues compiling it into a Mac App so for now I don’t have that yet.
Switch from Powershell 7 to Python
replaced the selector for machines to deploy a secondary image to to a dropdown and number for amount or percentage of machines
published as an executable
Credentials storing made optional
Moved storing of credentials to the local credentials store
Connect button connects and gets info for both VDI & RDS
Where can I get it?
For now a zip file with the executable (and a ton of other files, it was either that or a slower starting app.) can be found on my Stack. Later I will also share the sourcecode so you can make edits if you want.
Did anything change in how I use it?
Only some tiny bits like the option that I added to store the password or not and some slight changes on the VDI/RDS but I think these will be self explanatory.
Pics or it didn’t happen
The VDI & RDS Tabs after connecting. Take note of the already selected resizing options. These will be read from the current config so you get the same size when redeploying.
Todo list & bugs
FIx the percentage of machines that sometimes fails
add more logging
find a method to package into an app for macos
Used Python Modules
These are the modules I am using in this application
Have you ever dreamt about becoming a vExpert? When I became one in 2016 I had no idea what was needed and the vExpert Pro’s where not around yet. Several years ago the vExpert team setup this vExpert Pro program that is aimed at enabling hopefulls to be able to… Continue reading
In a previous post I described on how to configure the Horizon Event database using the REST API’s. In this post I will describe on how you can retreive those events using a script that I have created. To get the first few events is easy, just use the /external/v1/audit-events… Continue reading
For a long time I have been wanting to have some kind of portable lab but I had a few requirements that where limiting me: Not so long ago I got a newer laptop from ControlUp to replace my (not that old) annoying heat and noise generating Dell Lattitude 5401.… Continue reading
Intro Some of you might have seen previews on the socials but for the last few months I have been working hard on a GUI based tool to deploy golden images to VMware Horizon Instant Clone Desktop Pools and RDS Farms. This because who isn’t sick and tired of having… Continue reading
With the recent release of Horizon 8 build 2212 one of the new api calls available was that of getting and configuring the event data base. This time I will not use powershell but do everything from the Swagger page. First of all I the used url is /config/v1/event-database and… Continue reading
I have just added a page that lists the Horizon 8 2209 changes in the API’s. If you’re interested in the overall release notes, please see this link. Some of the changes that stand out are brand new calls related to Radius & SAML settings but also options to bind… Continue reading
With Horizon 8 2206 one of the new features is the fact that you can select a new amount of cpu’s and memory when deploying a new image. If you know me a but you might understand that I want to know how we can do this using the api’s.… Continue reading
Since several version in each VMware Horizon release notes pages there has been this mention: This links to this page: VMware Horizon REST APIs (84155) for a while this page was updated with the latest additions to the REST api’s but I guess people didn’t want to do that anymore… Continue reading
This ia a rather quick one as I already had some of the basics in my last script to send messages to global sessions. I have created a script that will gather all sessions in a Horizon environment. The global sessions api call has only been available since Horizon 2111… Continue reading