Solved

Hyper-v command line export cant find VM

Posted on 2015-02-11
3
100 Views
Last Modified: 2015-02-18
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.
0
Comment
Question by:Cdwalter
  • 2
3 Comments
 
LVL 57

Expert Comment

by:Cliff Galiher
ID: 40604808
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.
0
 
LVL 1

Accepted Solution

by:
Cdwalter earned 0 total points
ID: 40604815
yes the name is simple App1, however I had to do an application upgrade on the VM tonight which required a reboot of the VM once that was done the export started working.
0
 
LVL 1

Author Closing Comment

by:Cdwalter
ID: 40616146
problem resolved itself
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SpiceWorks - help desk system 2 74
SBS 2011 6 46
MS-Access 2002 error (Win XP on Win7Pro) 19 67
Microsoft Server 2012R2 Virtualization licensing 5 44
INTRODUCTION The purpose of this document is to demonstrate the Installation and configuration of the Data Protection Manager product. Note that this demonstration was prepared on the basis of Windows OS is 2008 R2 and DPM 2010. DATA PROTECTI…
Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question