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 …

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 …