Snapshot removing command in VMware

After the backup session in VMware servers, backup application unable to remove the snapshot.

To remove the snapshot the following are the methodology can be used.

1. Vsphere Powershell CLI (Latest version):

PS C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> Get-VM  VMNAME* | get-snapshot | Remove-Snapshot -Confirm:$false

PS C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI>

2. From ESX (4.X & 5.X):

For Esx4.X: #vmware-cmd path_to_vmxfile removesnapshots

For ESX 5.X: #vim-cmd vmsvc/snapshot.removeall [VMID]

 3.  Through Shell script:



Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: