Previous Topic: dpmhyperv ShowSCVMMGuestOSProfiles Command--Show Guest Operating System ProfilesNext Topic: dpmhyperv ShowVirtFloppy Command--Show the List of Virtual Floppy Drives


dpmhyperv ShowTemplates Command--Show all VM Templates

The dpmhyperv ShowTemplates command lists all VM templates on a Hyper-V host.

This command has the following format:

dpmhyperv ShowTemplates 
[-ws_user username] 
[-ws_password password] 
[-ws_encrypted_password] 
-hypervHost hostname 
[-filter condition] 
[-scvmmHost scvmm_hostname] 
[-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.

-filter condition

(Optional) Specifies a filter condition such as "*".

-scvmmHost scvmm_hostname

(Optional) Specifies the name of the SCVMM server host.

-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: Show all VM Templates

This example lists all the VM templates on the host, "hserver."

dpmhyperv ShowTemplates -ws_user admin -ws_password #test# -hypervHost hserver