VMware Cloud Community
sasikumarsridha
Contributor
Contributor

Cloning VM's from one ESX to another ESX

Hi Team,

          Is there any powershell script (or) some other script that i can use for cloning the VM's from one ESX to another ESX.

Thanks in advance,

Sasikumar.

0 Kudos
2 Replies
gaspipe
Enthusiast
Enthusiast

0 Kudos
a_nut_in
Expert
Expert

You  sure can use vmkfstools command for doing this manually. It does this per datastore though and not host.

So if you have a vm with one  vmdk on datastore1 and you want a clone of it either on same or different datastore, you can  do a

vmkfstools -i path/vmdk newpath/vmdk

Trouble is this only clones the disk and that too one disk at a time. But you can either copy the vmx or create a new vmx and power on the VM

Do remember to mark my post as "helpful" or "correct" if I've helped resolve or answer your query!
0 Kudos