A new release, version 2.1, of the AHV VM Reporting script using Nutanix REST API. I have been asked a few times about how to add information about when a VM was created and it is included in this version. However, the information is available via Prism Central (PC) so you need to decide if …
Category Archive: Script
PowerShell Script To Delete Files & Folders
Last year I wrote a blog post about how to back up the VMware vCenter Server Appliance version 6.5 via PowerShell which you can read here. It somehow slipped my mind to post another important aspect of the backup procedure and that is obviously to delete old backups since you don’t want them to hang …
Nutanix AHV VM Reporting Via REST API Version 2.0
So this will be the third release, version 2.0, of the AHV VM Reporting script using Nutanix REST API. You might be aware of that Nutanix moved Self Service Portal functionality from Prism Element (management of single Nutanix cluster) to Prism Central which can manage many Nutanix clusters (PEs) in AOS version 5.5. What you …
Nutanix AHV VM Reporting Via REST API Version 1.1
A while ago I published a blog post that includes a script you can use to create Nutanix AHV VM reports. The blog post can be found here. Now it’s time for version 1.1 and it comes with additional VM information to make it more useful. The new metrics included are: Remote Protection Domain …
Nutanix AHV VM Reporting Via REST API
Some time ago I provided a virtual machine reporting script for Nutanix hypervisor AHV virtual machines via the blog post “Nutanix AHV VM Reporting”.That script was running on a Nutanix Controller Virtual Machine (CVM) so it had some shortcomings in terms of flexibility and scheduling options. This new script provides all the output parameters included …
List VMware ESXi vMotion Enabled VMkernel Interfaces Using PowerCLI
A while back during a troubleshooting exercise I created a script to list ESXi host VMKernel Interfaces (vmk) with vMotion enabled since some of the ESXi hosts had vMotion enabled on multiple interfaces. The below information is included per ESXi hosts in the script output CSV file: VMHost – ESXi host Name IP – IP …
Add Multiple ESXi Hosts To vCenter Server Using PowerCLi
A few days back I created a vSphere cluster with 32 ESXi hosts and I really didn’t want to add all these hosts using the UI so I decided to put together a short powercli script to manage this. The script that was tested using the following software versions: VMware vCenter Server 6.5 VMware ESXi 6.5 build 5146846 …
Change AHV Based Nutanix Controller Virtual Machine (CVM) RAM
A few days ago i changed Nutanix Controller Virtual Machine (CVM) Memory configuration for a customer. There is a Nutanix KB about this which can be found here here but since it includes manual steps i figure i create a script which you can run from the AHV host. This blog post is divided into the following sections: …
Duplicate random generated data in Linux based VM
A few weeks back i create a blog post about how to create random data in a Linux (CentOS) based VM which you can read here. Based on that post i have received a few comments and one in particular i’ll address in this blog post and it was about the time it takes to generate …
Generate random data in Linux based VM
A few weeks back i was asked by a customer to create a lot of random data in same amount of Linux (CentOS) based VMs as there were Nutanix nodes in their cluster. I can see multiple reasons for doing this but that is a complete separate discussion, i just wanted to share the bash …
vSphere VM vCPU to ESXi host pCPU core allocation
There has been quite a lot of discussion regarding resource utilization and resource allocation in vSphere environments lately. There are a lot of tools around doing analysis (some better than others) of your environment and gives suggestions if you need to e.g.: Add more resources (CPU, RAM, Disk, Network) to your vSphere cluster. Down size …
Create multiple VMs from existing vSphere VM using PowerCLI
I recently published the blog post “Create multiple VMs using PowerCLI” and as i mentioned in the post i thought the next request would be a PowerCLI script to create multiple VMs from an existing vSphere virtual machine (VM). It just took a few days before the request reached my email inbox. I actually received a few …
Create multiple VMs using PowerCLI
A couple of days ago i received a request from a customer asking for a PowerCLI script to create VMs. There were a couple of requirements for the script. Specify the number of VMs to be created. The VMs must be powered on after the creation. The VMs must be placed on all ESXi hosts …
ESXi host VMkernel.Boot.terminateVMOnPDL configuration using PowerCLI
I have already written a blog post about how you can configure the ESXi host setting disk.terminateVMOnPDLDefault in vSphere version 5.1. You can find that blog post here. I have received a couple of questions about how to configure the setting, called VMkernel.Boot.terminateVMOnPDL, in ESXi 5.5 so i decided to put together a blog post about it. …













