powercli 명령어를 이용한 파일 복제
옵션 중 -GuestToLocal : Guest 파일을 로컬로 copy
-LocalToGuest : Local 파일을 Guest로 Copy
예제)
Copy-VMGuestFile -Source c:\text.txt -Destination c:\temp\ -VM VM -GuestToLocal -GuestUser user -GuestPassword pass2
참고
Copy-VMGuestFile Command | VMware PowerCLI Reference
This cmdlet copies files and folders from and to the guest OS of the specified virtual machines using VMware Tools.
developer.vmware.com
Example 1
Copy-VMGuestFile -Source c:\text.txt -Destination c:\temp\ -VM VM -GuestToLocal -GuestUser user -GuestPassword pass2
반응형