Previous Topic: dpmvc-migrate Command--Migrate a VM (Funclet)Next Topic: dpmvc-removevmvdisk Command--Remove Virtual Disk (Funclet)


dpmvc-removedatastore Command--Remove a Datastore (Funclet)

The dpmvc-removedatastore command deletes a datastore.

This command has the following format:

dpmvc-removedatastore
-datastore_name datastorename
-esx_host_name esxhostname 
-vc_server vcservername
[-ws_user wsuser]
[-ws_password wspassword]
[-prompt {yes|no}]
-datastore_name datastorename

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

-esx_host_name esxhostname

Specifies the name of the ESX server that hosts a VM.

-vc_server vcservername

Specifies the vCenter Server to access when you have multiple vCenter Servers. Optional for single vCenter Server environments.

-ws_user wsuser

(Optional) Specifies the web service user name to connect to the VC Platform Management Module (PMM).

-ws_password wspassword

(Optional) Specifies the password for the web service user to connect to the VC Performance Management Module (PMM).

-prompt {yes|no}

(Optional) Specifies whether you are prompted for the web service user ID and password.

Default: Yes