Previous Topic: dpmhyperv GetJobState Command--Get the State of a JobNext Topic: dpmhyperv GetVersion Command--Get the PMM Version


dpmhyperv GetServerInfo Command--Get the List of Managed Servers

The dpmhyperv GetServerInfo command returns all Hyper-V host with its properties in the CA Virtual Assurance system.

This command has the following format:

dpmhyperv GetServerInfo 
[-ws_user username] 
[-ws_password password] 
[-ws_encrypted_password] 
-hypervHost 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.

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

This example returns the properties of each Hyper-V host registered in the CA Virtual Assurance system.

dpmhyperv GetServerInfo -ws_user admin -ws_password #test#