Skip to main content
ONTAP 7-Mode Transition

Removing VM snapshots using the ESXi CLI

Contributors

You can choose to use the ESXi CLI to remove the snapshots if you are using the Host Remediation Tool (HRT), or if you prefer the flexibility of CLI usage.

You must have the VMID from the Host VMs tab in the Inventory Assessment Workbook generated by the 7-Mode Transition Tool (7MTT).

Steps
  1. Use SSH to log in to the ESXi console.

  2. Remove all VM snapshots of the VM with the applicable VMID:

    # vim-cmd vmsvc/snapshot.removeall VMID

After deleting snapshots, you must regenerate the Inventory Assessment Workbook to collect information related to Data ONTAP operating in 7-Mode and your ESXi hosts.