VMware PowerCLI

The Best User Interface for your VMware Datacenter!

Operation is not valid due to the current state of the object

Many cmdlets are sometimes returning this error message:

Operation is not valid due to the current state of the object

This problem has been discussed and a workaround has been found here :

https://serverfault.com/questions/654415/powercli-move-vm-returns-failure-but-vm-still-moves

However, instead of a workaround with more code, it would be better to fix this erratic behavior.

  • Luc FULLENWARTH
  • Jul 25 2019
  • Attach files