Solved

Hyper-v command line export cant find VM

Posted on 2015-02-11
3
92 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 56

Expert Comment

by:Cliff Galiher
Comment Utility
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
Comment Utility
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
Comment Utility
problem resolved itself
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
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…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …

762 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now