Hi experts.
So, I am connected to ESXi host directly via mgmt port using mgmt laptop. I can access datastore and the VM folders. I use winscp to copy/transfer files between datastore and the mgmt laptop.
Now i want to transfer some files from mgmt laptop to one of the VMs C drive. ofcourse the VM IP ranges are different that of mgmt IP.
How can I do it in easiest way.
I researched about this, and found some artilces to use powershell and script etc. which isnt that simple.
so, if you know an easy way to exchange data then please share the methode.
Raj
Does this relate specifically to ESXi on ARM, or ESXi on x86?
based on description I'm assuming this is not ESXi-on-Arm Specific, and moving it to a general "windows" guest OS forum.
You need to set the following advanced settings on the VMs. You will be able to copy & paste VMs between your laptop and the guest os.
Name: Value:
isolation.tools.copy.disable FALSE
isolation.tools.paste.disable FALSE
isolation.tools.setGUIOptions.enable TRUE
Enable content Copy/Paste between VMRC client and Windows/Linux Virtual Machine (57122) (vmware.com)
Regards
Daniel
I the VM inside the host has a routed network that can connect to the ESXi host, there is nothing stopping you from using the host client and datastore browser or (win)SCP to copy down the files.
Are the networks isolated?
is the ESXi host in a vcenter ?
if so, you can use Copy-VMGuestFile to copy file from local to vm
Yes both networks are isolated....
If I connect the VM to mgmt network on temporary basis....would then I be able to access the VM's C drive via winSCP??
No VCenter Server
Yes, you should be able to access the C drive. Keep in mind to enable the firewall rule for SMB inbound in case of Windows is used 🙂 I still recommend to set the following advanced settings on the VMs. You will be able to copy & paste VMs between your laptop and the guest os without network connectivity between laptop/client and VM.
Name: Value:
isolation.tools.copy.disable FALSE
isolation.tools.paste.disable FALSE
isolation.tools.setGUIOptions.enable TRUE
Enable content Copy/Paste between VMRC client and Windows/Linux Virtual Machine (57122) (vmware.com)
Regards
Daniel
Can you ping the destination VM from the management laptop?
If so, try connect via the Windows UNC path using the IP address of the VM you are trying to connect to:
i.e. \\172.16.x.x\C$\Temp
A powershell oneliner ... ok you need to connect also but
Copy-VMGuestFile -Source c:\foobar.txt -Destination c:\temp\ -VM MyVM -LocalToGuest -HostUser root -HostPassword "VMware1!" -GuestUser administrator -GuestPassword MySecret
doesnt look to complicated.