Unix/Linux Go Back    


Windows & DOS: Issues & Discussions All Windows and DOS questions should go here as well. Discuss UNIX to Windows (Desktop or Server) here!

VMware Hyper-V conversion

Windows & DOS: Issues & Discussions


Tags
hyper-v, positional parameter, vmware

Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 08-16-2016
vikingcd vikingcd is offline
Registered User
 
Join Date: Aug 2016
Last Activity: 17 August 2016, 4:27 AM EDT
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
VMware Hyper-V conversion

Hi there!

I am trying to work out an automated conversion mechanism migrating VMware to Hyper-V. I have been told that the best way to do so would be to write a short PowerShell script referring to Microsoft's MvmcCmdlet collection. However, my experience with PowerShell is fairly limited. This is what I have come up with so far:

Code:
Import-Module   "C:\Users\XXXX\Desktop\MvmcCmdlet.psd1"   ConvertTo -VirtualHardDisk: -SourceLiteralPath   "D:\XXXX\base.vmdk"    "D:\XXXX"-VhdType FixedHardDisk -VhdFormat Vhd

The error report says "No positional parameters found". What am I doing wrong?

Appreciate your feedback!

Moderator's Comments:
VMware Hyper-V conversion edit by bakunin: cleaned out several tons of formatting

Last edited by bakunin; 08-16-2016 at 10:36 AM..
Sponsored Links
    #2  
Old Unix and Linux 08-16-2016
bakunin bakunin is offline Forum Staff  
Bughunter Extraordinaire
 
Join Date: May 2005
Last Activity: 26 April 2017, 12:15 PM EDT
Location: In the leftmost byte of /dev/kmem
Posts: 5,407
Thanks: 99
Thanked 1,491 Times in 1,108 Posts
Quote:
Originally Posted by vikingcd View Post
However, my experience with PowerShell is fairly limited.
The same is true for us. We are a UNIX forum and don't deal with Windows-systems unless we need to connect them to our own systems.

And, by the way, could you please refrain from formatting what you write to death? It just makes it harder to read on certain devices and gains you nothing. Simple CODE-tags, like you used, is absolutely enough. Thank you.

bakunin
Sponsored Links
    #3  
Old Unix and Linux 08-17-2016
vikingcd vikingcd is offline
Registered User
 
Join Date: Aug 2016
Last Activity: 17 August 2016, 4:27 AM EDT
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
I am sorry if I have broken any formatting rules. I thought I would copy and paste my code and stick to the original format to keep things as structured as possible.

"Shell Programming and Scripting" seemed to be a good fit. Didn't know that Shell Programming using Unix was all that different from Window's PowerShell. I will make sure to ask my question elsewhere.
    #4  
Old Unix and Linux 08-17-2016
zaxxon's Unix or Linux Image
zaxxon zaxxon is offline Forum Staff  
code tag tagger
 
Join Date: Sep 2007
Last Activity: 27 April 2017, 7:53 AM EDT
Location: St. Gallen, Switzerland
Posts: 6,552
Thanks: 171
Thanked 553 Times in 476 Posts
Might be better placed in the Windows & DOS subforum - moving it there Linux
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
VMware Hyper-V conversion vikingcd Shell Programming and Scripting 2 08-16-2016 05:02 AM
Solairs 11 Hyper V dbajtr Solaris 0 02-17-2016 10:20 AM
SCO 5.0.6 or 5.0.7V Hyper-V vs. ESX performance ghodgins SCO 4 11-07-2013 11:29 AM
Sun Server Hyper Terminal civic2005 Solaris 1 05-25-2005 11:06 AM



All times are GMT -4. The time now is 05:47 PM.