Previous Topic: dpmhyperv ValidateServerAccess Command--Check Server AccessNext Topic: CA IBM LPAR CLI Commands


dpmhyperv DeleteTemplate Command--Deletes a Template

The dpmhyperv DeleteTemplate command deletes a template on a Hyper-V host.

This command has the following format:

dpmhyperv Deletetemplate 
[-ws_user username] 
[-ws_password password] 
[-ws_encrypted_password] 
[-prompt] 
-hypervHost hostname 
-template template_name 
[-pre] 
[-post] 
[-locale iso639value]
-ws_user username

(Optional) Specifies the CA Virtual Assurance user name.

-ws_password password

(Optional) Specifies the CA Virtual Assurance user password.

-ws_encrypted_password

(Optional) Indicates whether the CA Virtual Assurance password is encrypted.

-hypervHost hostname

Specifies the name of the Hyper-V host.

-prompt {yes|no}

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

Default: Yes

-template template_name

Specifies the template name to delete.

-pre

(Optional) Generates an event before the operation is complete.

-post

(Optional) Generates an event after the operation is complete.

-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".

Example: Deletes a Template

This example deletes the template, "template_5" on the Hyper-V host, "hserver".

dpmhyperv ShowPhysDisks -ws_user admin -ws_password #test# -hypervHost hserver -template template_5