The dpmhyperv ExportVM command stores files having information of a VM to a directory on a Hyper-V host. This command is deprecated, use dpmhv ExportVMEx instead.
This command has the following format:
dpmhyperv ExportVM [-ws_user username] [-ws_password password] [-ws_encrypted_password] -hypervHost hostname -vm vm_name|-vmguid vm_ID -dest dest_location [-nostate] [-async] [-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.
Specifies the VM name.
Specifies the unique GUID of the VM.
(Optional) Defines the destination location of the imported file.
(Optional) Specifies that only the VM specification is exported. This option prevents the exported VM from trying to refer to the original VM disk images.
(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: Export a VM
This example stores files having information of the VM, "TestVM" from the Hyper-V host, "hserver."
dpmhv ExportVM -hypervHost hserver -vm TestVM -dest c:\DATA\Export
Copyright © 2013 CA. All rights reserved. |
|