Though I can’t recall the details now, I ran into a situation about a year ago where I needed to power off/on some virtual machines using the command line with ESXi. This article describes the process in detail, and the screenshot here shows me putting the commands in action.
