Previous Topic: dpmvc-getshares Command--Get VM Shares (Funclet)Next Topic: dpmvc-imgjobcheck Command--Get Clone Job Status (Funclet)


dpmvc-getsnapshots Command--List Snapshots of a VM (Funclet)

The dpmvc-getsnapshots command lists the snapshots of a VM.

This command has the following format:

dpmvc-getsnapshots 
{-datacenter_name datacentername | -vc vcenterservername}
-vm_name vmname 
[-name_only]
-datacenter_name datacentername

Specifies the data center where the VM is located.

-vc vcenterservername

Specifies the vCenter Server where the VM is located.

-vm_name vmname

Specifies the VM.

-name_only

(Optional) Provides snapshot names only.

Example: List Snapshots

This example lists the snapshots of a VM.

dpmvc-getsnapshots -vc my_server1 -vm_name my_vm