The dpmhyperv ShowVMs command lists all VMs on a Hyper-V host. The command gets VM names and their corresponding GUIDs.
This command has the following format:
dpmhyperv ShowVMs [-ws_user username] [-ws_password password] [-ws_encrypted_password] -hypervHost hostname [-pre] [-post] [-locale iso639value]
(Optional) Specifies the CA Virtual Assurance user name.
(Optional) Specifies the CA Virtual Assurance user password.
(Optional) Indicates whether the CA Virtual Assurance password is encrypted.
Specifies the name of the Hyper-V host.
(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 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 VMs
This example lists all VMs and their corresponding GUIDs on the host, "hserver."
dpmhyperv ShowVMs -ws_user admin -ws_password #test# -hypervHost hserver
Copyright © 2015 CA Technologies.
All rights reserved.
|
|