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]
(Optional) Specifies the CA Server Automation user name.
(Optional) Specifies the CA Server Automation user password.
(Optional) Indicates whether the CA Server Automation password is encrypted.
Specifies the name of the Hyper-V host.
(Optional) Specifies whether you are prompted for the user ID and password.
Default: Yes
Specifies the template name to delete.
(Optional) Generates an event before the operation is complete.
(Optional) Generates an event after the operation is complete.
(Optional) Specifies an IS0 639_3166 combination (for example: fr_FR for French) to override the default English output. 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
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |