Scripting
Posts in the Scripting format.
Filter 32
VMware Explore Las Vegas – Hackathon 2025
The VMware Code Hackathon is a special event that took place during this year's Explore in Las Vegas. Whenever I am allowed to go to an Explore I'm excited if there is a Hackathon.
VMware Hackathon 2024 Project
The VMware Code Hackathon is a special event that runs alongside VMware Explore. Since 2016, I've been fortunate to participate in both the main event and hackathon most years.
VMware Hackathon 2023 Project
The VMware Code Hackathon is a special event that runs alongside VMware Explore. Since 2016, I've been fortunate to participate in both the main event and hackathon most years.
PowerShell Script to test multiple IP Addresses
This small scriptlet reads a CSV with a column called “IPaddress” and pings its way through the addresses. In a lot of projects I have to confirm that a set of IPs is free.
Moving VMs into resource pools based on a tag
A script which automates the assignment of VMs into resource pools based on tags. Has some added functionality to make sure all VMs have tags.
Assigning Tags based on VM Notes
Addressing the problem with not finding VMs based on information in the notes when using the HTML5 client.
Releasing my vCheck Fork
I have been working on a lot of improvements to the popular PowerCLI HTML Framework script “vCheck Daily Report” which was originally developed by Alan Renouf and has been enhanced by the VMware Code
Setting Resource Pools right
I wrote a script to set resource pools right.
Copying my scripts to Github
I have been blogging for almost 4 years now. After a slow start back in 2014 and some quiet months every now and then I have published quite a lot of powershell code on here over the years.
Change Admission Control Percentages
I was recently asked by a customer to explain some of the vSphere 6.5 features that would be interesting for his environment.
Getting the Usage of a cluster
Our customers sometimes call us in to check their environment. Because this happens quite often we created a basic checklist on what checks we do when we start.
Reporting the duration of snapshots
One of our customers had a problem with VMs losing network connectivity while the backup was running. Their backup solution was based on VMware snapshots.
Checking ESXi Hosts Advanced Settings against VMware's default
Over the years and releases from VMware the best practices change sometimes.
Adding a disk to a VM
Recently I stumbled upon a stubborn vSphere Client at a customer. It just would not let me add a disk a VM.
Getting Started with Clarity UI
As you know when you read my blog, I like to develop and script a lot of things. One things that was always hard for me was the design of the user interface.
Find and disconnect CD Drives on your VMs
One of the things that regularly pops up in our health checks in VMware environments are connected CD Drives that prevent DRS from functioning properly or prevents a host from entering maintenance
Testing your networks
If you are knee-deep in a troubleshooting session with a customer you want to be able to have some tools ready that do some tests for you.
Find Zombie Files on Datastores
Everyone who works in our industry is familiar with RVTools. It's a great tool that achieves a lot in short time in terms of infrastructure checks. I would not want to do my job without it.
Automating VMware Tools and Hardware Upgrades
A couple of years ago I struggled with VMware Update Manager in a large environment. The Use case was to update about a 1000 VMs to the latest VMware Tools and VM Version (hardware).
Report Empty LUNs
Once again I'm writing about a customer use-case.
Automating VCSA Backup & Restore
I've recently stumbled upon a VMware communities thread where someone had trouble backing up the VCSA database.
Automating VM Skeleton Deployment
We recently had to write a script for a customer which would deploy a VM skeleton.
Find differences between DNS-Name and VM Display-Name
My boss asked me to create a report which shows all the VMs that have a difference in DNS-hostname and the displayname shown in the client.