Cdwalter
asked on
Hyper-v command line export cant find VM
I have physical box with two VMs running. I want to use a script to export the VMs to a different server. On a another server where I installed VM to default dir this command works export-vm -name VM -path c:\backup however this server the VMs are stored on a data partition not in the default dir. I get an error Hyper-v was unable to find a virtual machine with name "App1" I can't find the syntax to run the export with the files in a different location.
Not to overlook the obvious, but are you sure that is the VM's name? You shouldn't have to do anything special to export the VM even with the files in a different location. As long as the VM is properly defined, the Hyper-V management service will know where the files are and export the VM properly.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
problem resolved itself