PowerCLI: Function to import VMX files from a datastore

Recently we’ve had to revert to migrating a customer through cloning virtual machines to a lun on a ‘migration storage box’ after which we had to do an import in our vCenter environment. Normally I just Veeam for ease in the whole migration process but this time there were circumstances …

Creating a nested ESXi server in vCloud Director

Back in 2018 William Lam released a special virtual appliance version of the ESXi 6.7 image as an OVA. Now you might wonder why would you need a special virtual appliance for a nested ESXi server? The most essential components are already there especially with ESXi 6.7: VMware tools Native …

Update VM storage timestamp using PowerCLI

The company I work for uses the vSphere API for all kinds of purposes. Usually this works great however one of our programs returned some errors after we moved a large number of VMs from one datastore to another. It turns out that from vSphere API 5.0 onwards the VirtualMachineStorageInfo …

PowerCLI: Limits & Reservations on VM’s

This script is also already from a while ago, but I’m posting this because it might be useful to anyone that is currently investigating virtual machine limits and reservation performance issues on their environment or are simply looking for a quick check on their environment. Configuring limits on virtual machine …