Working with Snapshots on the ESXi CLI

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


Comments are closed.