Find and unmount CD drives with PowerCLI

Sometimes someone forgets to unmount the CD drive of a VM. This will interfere with operation tasks like setting a host in maintenance mode or using Update Manager. I recently had this issue, and the “update manager compliance check” told me that several VM’s where connected to a CD drive, which may interrupt the update…

Continue Reading

Saving and restoring ESXi configuration, and fixing VMKCore coredump partition dump issues

Hi all. Today i had to reinstall some ESXi 5.5 hosts as we were upgrading to SSD disks, in order to have more performance on the Citrix environment we are hosting. Before i powered off the server, i saved the configuration to use for easy reconfiguration with the following command from powercli: Get-VMHostFirmware -VMHost xxx-hostname-xxx -BackupConfiguration…

Continue Reading