YAMS – Yet Another Migration Script

I was asked if I could write a script that could be used for moving VMs to another data center location. Sounds easy right? Well, there were some specific requirements that made it a bit more challenging… Downtime for the VMs should be kept to a minimum. Some clusters re-use…

Upgrading ESXi 6.0 hosts with PowerCLI

The last step in my migration project was to actually upgrade the hosts to a supported version. This means that all hosts are upgraded to 6.7 except for those hosts that are a bit to old and only support 6.5. For the upgrade, I used Update Manager to store the…

Find a datastore or RDM by LUN ID

Sometimes the storage team wants to clean up their LUNs but they only know the LUN ID. And they ask you, the ESXi admin, where that LUN is used… Not an easy question if you don’t have an administration of your LUNs. You can use the UI and do some…