Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 898
  • Last Modified:

How-To Import existing Hyper-v virtual machines into VMM

I know of this way:
$VMHost = Get-SCVMHost -ComputerName "HyperVHostName"
Register-SCVirtualMachine -VMHost $VMHost -Path "C:\ClusterStorage\MyVM"

Open in new window


Are there others?
What if the VM being imported is in a paused state? How can I unpause it if it is not attached to eny environment anymore?
0
itnifl
Asked:
itnifl
  • 2
2 Solutions
 
itniflAuthor Commented:
Hello Shaik, and thank you for your comment. The first link addresses the topic of adding existing Hyper-v hosts to a VMM installation. This is not my issue.

The second link solves the aspect of importing an existing virtual machine into an vmm environment by adding it to the Library and then refreshing the Library in an attempt that the virtual machine should be automatically deployed by this. I have earlier tried this and this Library refresh trick did not work in my environment using SCVMM 2012 R2. I then made a template of the virtual machine I wanted to import from what I had copied into the Library, and deployed it. I also tried creating a new virtual machine identical to the original one that I was trying to import and then I added the existing disks to it from the machine I was trying to import. Both these workarounds work, but they are cumbersome.

In VMWare, you can just browse to the vmx file of a vmware virtual machine on the datastore, right click it, and choose to register it in the VMWare environment. Thats the easy way it should be done!
0
 
itniflAuthor Commented:
Seems that there is no way to do this the really easy way.
0

Featured Post

New Tabletop Appliances Blow Competitors Away!

WatchGuard’s new T15, T35 and T55 tabletop UTMs provide the highest-performing security inspection in their class, allowing users at small offices, home offices and distributed enterprises to experience blazing-fast Internet speeds without sacrificing enterprise-grade security.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now