Previous Topic: dpmvc-cycle Command--Cycle a VM (Funclet)Next Topic: dpmvc-delete Command--Destroy a VM (Funclet)


dpmvc-datastore Command--Get Data Store Properties (Funclet)

The dpmvc-datastore command retrieves the free space and capacity settings for a specific VMware vCenter data store.

This command has the following format:

dpmvc-datastore 
{-datacenter_name datacentername | -vc vcenterservername}
-datastore_name datastorename 
[-getproperty {all|capacity|freespace}]
-getproperty {all|capacity|freespace}

(Optional) Specifies which property to retrieve. Options include the following:

all

Retrieves capacity and free space in the data store.

capacity

Retrieves the capacity in the data store.

freespace

Retrieves the free space in the data store.

-datacenter_name datacentername

Specifies the data center where the VM is located.

-vc vcenterservername

Specifies the vCenter Server where the VM is located.

-datastore_name datastorename

Specifies the name of the data store where the new VM is located.

Example: Get all Properties for the Data Store

This example retrieves both free space and capacity for the data store.

dpmvc-datastore -getproperty all -datacenter_name VAS/MyCity -datastore_name storage1