Sometime there would necessity to share files and folders between VM’s and it would be a very simple if there is network connectivity between those VM’s. Think of a situation where you do not have network connectivity between VM’s and you need to share files and folders between.
I will show couple of ways to to achieve this
1) Using ISO image – If the files folders are very small you can achieve this using as ISO image. I have used Free ISO Creator and ISO recorder to do this task. Both are a very small which will help us to create a ISO image based on files and folder in a very small time. Once the ISO is created you can upload the ISO image to datastore and add it to the VM
After installing the Free ISO Creator open the ISO created add the files and folders which needs to be created, provide a name for the ISO file and click on convert
Using ISO recorder its possible one to convert folders to ISO image. Right Click on folder and Click on Create ISO Image. In the widnows click on Next and you will the ISO is created
2) Using helper VM – Install a new temporary VM with 2 vNIC on both the network and using this VM copy files folder between the other 2 VM’s
3) Using VMDK – Attach a second VMDK file to source VM and copy the content and remove the VMDK from the source. Then attach the VMDK to the destination VM and copy the files on the destination VM and them delete the VMDK
4) Using PowerCLI – VMware PowerCLI can be used to copy file to VM using VMware Tools. Copy-VMGuestFile cmdlet can be used to achieve this