VCF on VxRail: How to remove VM snapshots using CLI

Summary: How to remove VM snapshots using CLI.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

  1. Open a PuTTY session to the ESXi host where the VM resides.

  2. List VMs and copy VMID into notepad

    # vim-cmd vmsvc/getallvms
  3. Verify that the VM has existing snapshots (use VMID from step 2)

    # vim-cmd vmsvc/snapshot.get <VMID>
  4. Remove all snapshots for a specific VM

    # vim-cmd vmsvc/snapshot.removeall <VMID>

Confirm all snapshots for the specified VM have been removed.

NOTE: This command deletes all snapshots without prompting for confirmation.

 

Affected Products

VMWare Cloud on Dell EMC VxRail E560F, VMWare Cloud on Dell EMC VxRail E560N, VxRail Appliance Family, VxRail Appliance Series, VxRail G Series Nodes, VxRail D Series Nodes, VxRail E Series Nodes, VxRail P Series Nodes, VxRail S Series Nodes , VxRail V Series Nodes ...

Products

VxRail VD Series Nodes
Article Properties
Article Number: 000227877
Article Type: How To
Last Modified: 26 Aug 2025
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.