[ ] The VirtualMachineOperation message should have vmop in the name.
[x] Running without -w flag is only creating vmop and instant exit, it is not convenient and informative for user, the message is always phase=“”.
I would like -w to wait for the whole operation to finish, i.e. stop/start/restart.
And if a command is started without a flag, it should wait for the Failed or InProgress phase and exit with that.
For some special cases when you need to create a vmop and exit immediately, you can make a special flag, for example, --create-only.
[x] For failed operation need to correct the reason and message - maybe condition was renamed and you forgot to correct it here.