?
Solved

Hyper-v command line export cant find VM

Posted on 2015-02-11
3
Medium Priority
?
131 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 59

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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
Optimized for private cloud infrastructures and datacenters, Nano Server is minimalistic, yet super-efficient, OS for services such as Hyper-V and Hyper-V cluster. Learn how you can easily deploy Nano Server and unlock its power!
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
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…
Suggested Courses

777 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