Did you know you can copy files to a vm using virtual tools?
This would be great for disconnected or isolated vms that need files.
Checking if vmware tools are installed
Disconnecting NIC
Notice there is no C:\temp
After connecting to the vsphere with powershell
Now I want to copy some files
Copy-VMGuestFile -Source "c:\temp\tftp.iso" -Destination "c:\temp\" -VM 250-tftp
-GuestToLocal -GuestUser username -GuestPassword enterpasswordhere
You will see it sppear to do nothing that’s because its copying files
Look files copied over!!!!
0 comments:
Post a Comment