Skip to main content

Powershell | How to copy a file from local Machine to GuestOS of a VM

It is very simple. Below is the code-



Get-Item "C:\UcliEvt.log" | Copy-VMGuestFile -Destination "c:\tmp" -VM TestVM -LocalToGuest -GuestUser username -GuestPassword password








Thank you,
Team vCloudNotes

Comments

Popular posts from this blog

Network Migration | VLAN to VXLAN

NSX-T | Getting Started with PowerCLI

NSX-T | Security

Automate Power on Operations using PS