Working with Snapshots on the ESXi CLI
Posted on October 11th, 2015 by Bert Zefat
I love CLI (Command Line Interface).
It gives you control…
So therefore if I work with ESX and snapshotting:
# vim-cmd vmsvc/getallvms
To get all VM’s andthier ID’s
#Â vim-cmd vmsvc/snapshot.create [ID] [Name]
To create a snapshot
#Â vim-cmd vmsvc/get.snapshotinfo [ID]
To get full information on snapshots on the VM
#Â vim-cmd vmsvc/snapshot.revert [ID]
To revert to a snapshot
#Â vim-cmd vmsvc/snapshot.remove [ID]
To remove a snapshot
# vim-cmd vmsvc/snapshot.removeall [ID]
To remove all snapshots from the VM