The dpmhyperv AgentGet command returns an agent value.
This command has the following format:
dpmhyperv AgentGet [-ws_user username] [-ws_password password] [-ws_encrypted_password] -hypervHost hostname -modelPath modelpath_value attributeName attribute_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 host name of the Hyper-V server.
Specifies the reference identifier of the asynchronous job.
Specifies the model path of the object to get value from.
Specifies the name of the attribute that you want to get.
(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: Return an Agent Value
This example returns the agent value.
dpmhyperv AgentGet -ws_user dcaadmin -ws_password #test# -hypervHost hserver -modelPath "https://localhost/aip/AOM/root/cimv2:CA_ComputerSystem.CreationClassName=\"CA_ComputerSystem\",Name=\"8a2a30a0-a184-11df-84a8-00155d7c7405\"" -attributeName DPM.HYPERV.SERVER.CRITICALVMS.MONITOR
Copyright © 2013 CA. All rights reserved. |
|