“Cannot run upgrade script on host” during upgrade from ESXi 5.1 to ESXi 5.5

The host upgrade from ESXi 5.1 to ESXi 5.5 failed at 93 percent with the following error: „Cannot execute upgrade script on host“. I found two possible issues – the second one worked for me: Issue 1: /bootbank/state.xxxxxxxx directory not…
Read more

Script to find all virtual machines with ballooning memory

This script will list all virtual machines with ballooning memory: $findball = @() foreach($vm in (Get-View -ViewType VirtualMachine | Where-Object ` {$_.Summary.QuickStats.BalloonedMemory -ne “0”})){ $select = “” | Select-Object VM, ` BalloonedMemory $select.VM = $vm.Name $select.BalloonedMemory = $vm.Summary.QuickStats.BalloonedMemory $findball += $select…
Read more