Previous Topic: dpmvc migrate Command--Migrate a VMNext Topic: dpmvc removevmvdisk Command--Remove Virtual Disk


dpmvc removedatastore Command--Remove a Datastore

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}]
[-sc sc_url]
[-locale iso639value]
-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

-sc sc_url

(Optional) Defines the URL for the service controller host.

Example: https://hostname:port/...

hostname

Defines the fully qualified host where the service controller is installed.

Example: localhost.ca.com

port

Defines the listening port for the service controller server.

Example: 80

-locale iso639value

(Optional) Specifies an IS0 639_3166 combination to override the default English output, for example, fr_FR for French. To use the locale of the command prompt, specify "native".