Link to home
Start Free TrialLog in
Avatar of Line One
Line One

asked on

copy VM's at the command line of Core Server 2008 R2

Assume I have a VM created running on Core Server 2008 R2 that is configured the way I like and I would now like to clone the configuration via some type of copy function at the command line of the console of the Core Server.  The idea would be that the original would be a template VM configuration complete with blank VHD and that every time I wanted to create a new VM I would have a way of copying all the relevant files/folders and doing some renaming and I would have a new VM ready to go.  I know I could do this monkeying around with the HyperV GUI but the point here is whether it's possible through a command line/series of command lines copying function on the console of the core server.
ASKER CERTIFIED SOLUTION
Avatar of Syed Mutahir Ali
Syed Mutahir Ali
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Line One
Line One

ASKER

Thanks for all the info.  I may use it at other times. However, this time around I already have a VM/VHD exactly the way I like them. So how do I 'copy' them from the command line.  I guess I'm asking what I have to copy from what folders and what additional steps I have to do activate. For instance, I have a folder that seems to have virtual machines in it that's nested quite deep and at the end of the trail is an xml file with a long hexadecimal name which I'm assuming is a specific virtual machine file.  Can you provide me with any info on the default folder configuration for VMs/VHDs associated with them and then how I would copy/rename to create new ones - if that's possible.
Still working my way through this.  I'll keep you updated.