using these can work from withing esxi itself.
vim-cmd vmsvc/snapshot.create [VmId] [snapshotName] [snapshotDescription] [includeMemory] [quiesced]
vim-cmd vmsvc/snapshot.create [VmId] [snapshotName] are needed
vim-cmd vmsvc/snapshot.revert [VmId] [snapshotLevel] [snapshotIndex]
vim-cmd vmsvc/snapshot.removeall [VmId]
to get your VMID do vim-cmd vmsvc/getallvms
This might help you understand vimID a bit more, http://sparrowangelstechnology.blogspot.com/2012/06/power-off-virtual-machines-via-command.html
but there is a lot out there.